forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * USB IBM C-It Video Camera driver
34 *
....@@ -10,17 +11,6 @@
1011 *
1112 * (C) Copyright 1999 Johannes Erdfelt
1213 * (C) Copyright 1999 Randy Dunlap
13
- *
14
- * This program is free software; you can redistribute it and/or modify
15
- * it under the terms of the GNU General Public License as published by
16
- * the Free Software Foundation; either version 2 of the License, or
17
- * (at your option) any later version.
18
- *
19
- * This program is distributed in the hope that it will be useful,
20
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- * GNU General Public License for more details.
23
- *
2414 */
2515
2616 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -1419,7 +1409,7 @@
14191409 case CIT_MODEL0:
14201410 case CIT_MODEL1:
14211411 cit_write_reg(gspca_dev, 0x0001, 0x0114);
1422
- /* Fall through */
1412
+ fallthrough;
14231413 case CIT_MODEL2:
14241414 case CIT_MODEL4:
14251415 cit_write_reg(gspca_dev, 0x00c0, 0x010c); /* Go! */
....@@ -2735,7 +2725,7 @@
27352725 break;
27362726 case CIT_MODEL2:
27372727 v4l2_ctrl_grab(sd->lighting, false);
2738
- /* Fall through! */
2728
+ fallthrough;
27392729 case CIT_MODEL4:
27402730 cit_model2_Packet1(gspca_dev, 0x0030, 0x0004);
27412731