forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/media/i2c/saa717x.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * saa717x - Philips SAA717xHL video decoder driver
34 *
....@@ -14,16 +15,6 @@
1415 * Note: this is a reversed engineered driver based on captures from
1516 * the I2C bus under Windows. This chip is very similar to the saa7134,
1617 * though. Unfortunately, this driver is currently only working for NTSC.
17
- *
18
- * This program is free software; you can redistribute it and/or modify
19
- * it under the terms of the GNU General Public License as published by
20
- * the Free Software Foundation; either version 2 of the License, or
21
- * (at your option) any later version.
22
- *
23
- * This program is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- * GNU General Public License for more details.
2718 */
2819
2920 #include <linux/module.h>
....@@ -844,7 +835,7 @@
844835 if (i == count)
845836 return;
846837
847
- /* horizonal prescaling */
838
+ /* horizontal prescaling */
848839 saa717x_write(sd, 0x60 + task_shift, vals[i].xpsc);
849840 /* accumulation length */
850841 saa717x_write(sd, 0x61 + task_shift, vals[i].xacl);