forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/usb/gspca/w996Xcf.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /**
23 *
34 * GSPCA sub driver for W996[78]CF JPEG USB Dual Mode Camera Chip.
....@@ -7,17 +8,6 @@
78 * This module is adapted from the in kernel v4l1 w9968cf driver:
89 *
910 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU General Public License for more details.
20
- *
2111 */
2212
2313 /* Note this is not a stand alone driver, it gets included in ov519.c, this
....@@ -436,7 +426,7 @@
436426 start_cropy = 35;
437427 }
438428
439
- /* Work around to avoid FP arithmetics */
429
+ /* Work around to avoid FP arithmetic */
440430 #define SC(x) ((x) << 10)
441431
442432 /* Scaling factors */