| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * Copyright (C) 2010-2013 Bluecherry, LLC <http://www.bluecherrydvr.com> |
|---|
| 3 | + * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Original author: |
|---|
| 5 | 6 | * Ben Collins <bcollins@ubuntu.com> |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Additional work by: |
|---|
| 8 | 9 | * John Brooks <john.brooks@bluecherry.net> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | | - * (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 18 | | - * GNU General Public License for more details. |
|---|
| 19 | 10 | */ |
|---|
| 20 | 11 | |
|---|
| 21 | 12 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 71 | 62 | solo_reg_write(solo_dev, SOLO_VI_CH_FORMAT, |
|---|
| 72 | 63 | SOLO_VI_FD_SEL_MASK(0) | SOLO_VI_PROG_MASK(0)); |
|---|
| 73 | 64 | |
|---|
| 74 | | - /* On 6110, initialize mozaic darkness stength */ |
|---|
| 65 | + /* On 6110, initialize mozaic darkness strength */ |
|---|
| 75 | 66 | if (solo_dev->type == SOLO_DEV_6010) |
|---|
| 76 | 67 | solo_reg_write(solo_dev, SOLO_VI_FMT_CFG, 0); |
|---|
| 77 | 68 | else |
|---|
| .. | .. |
|---|
| 230 | 221 | } |
|---|
| 231 | 222 | |
|---|
| 232 | 223 | /* First 8k is motion flag (512 bytes * 16). Following that is an 8k+8k |
|---|
| 233 | | - * threshold and working table for each channel. Atleast that's what the |
|---|
| 224 | + * threshold and working table for each channel. At least that's what the |
|---|
| 234 | 225 | * spec says. However, this code (taken from rdk) has some mystery 8k |
|---|
| 235 | 226 | * block right after the flag area, before the first thresh table. */ |
|---|
| 236 | 227 | static void solo_motion_config(struct solo_dev *solo_dev) |
|---|