forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/solo6x10/solo6x10-disp.c
....@@ -1,21 +1,12 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
2
- * Copyright (C) 2010-2013 Bluecherry, LLC <http://www.bluecherrydvr.com>
3
+ * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com>
34 *
45 * Original author:
56 * Ben Collins <bcollins@ubuntu.com>
67 *
78 * Additional work by:
89 * 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.
1910 */
2011
2112 #include <linux/kernel.h>
....@@ -71,7 +62,7 @@
7162 solo_reg_write(solo_dev, SOLO_VI_CH_FORMAT,
7263 SOLO_VI_FD_SEL_MASK(0) | SOLO_VI_PROG_MASK(0));
7364
74
- /* On 6110, initialize mozaic darkness stength */
65
+ /* On 6110, initialize mozaic darkness strength */
7566 if (solo_dev->type == SOLO_DEV_6010)
7667 solo_reg_write(solo_dev, SOLO_VI_FMT_CFG, 0);
7768 else
....@@ -230,7 +221,7 @@
230221 }
231222
232223 /* 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
234225 * spec says. However, this code (taken from rdk) has some mystery 8k
235226 * block right after the flag area, before the first thresh table. */
236227 static void solo_motion_config(struct solo_dev *solo_dev)