hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/media/usb/gspca/touptek.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * ToupTek UCMOS / AmScope MU series camera driver
34 * TODO: contrast with ScopeTek / AmScope MDC cameras
....@@ -7,16 +8,6 @@
78 * Special thanks to Bushing for helping with the decrypt algorithm and
89 * Sean O'Sullivan / the Rensselaer Center for Open Source
910 * Software (RCOS) for helping me learn kernel development
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.
2011 */
2112
2213 #include "gspca.h"
....@@ -185,7 +176,7 @@
185176 };
186177
187178 /*
188
- * As theres no known frame sync, the only way to keep synced is to try hard
179
+ * As there's no known frame sync, the only way to keep synced is to try hard
189180 * to never miss any packets
190181 */
191182 #if MAX_NURBS < 4
....@@ -259,7 +250,7 @@
259250 return;
260251 }
261252 gspca_dbg(gspca_dev, D_STREAM, "exposure: 0x%04X ms\n\n", value);
262
- /* Wonder if theres a good reason for sending it twice */
253
+ /* Wonder if there's a good reason for sending it twice */
263254 /* probably not but leave it in because...why not */
264255 reg_w(gspca_dev, value, REG_COARSE_INTEGRATION_TIME_);
265256 reg_w(gspca_dev, value, REG_COARSE_INTEGRATION_TIME_);