hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/media/usb/gspca/autogain_functions.c
....@@ -1,17 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Functions for auto gain.
34 *
45 * Copyright (C) 2010-2012 Hans de Goede <hdegoede@redhat.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
156 */
167 #include "gspca.h"
178
....@@ -98,7 +89,7 @@
9889 80 %) and if that does not help, only then changes exposure. This leads
9990 to a much more stable image then using the knee algorithm which at
10091 certain points of the knee graph will only try to adjust exposure,
101
- which leads to oscilating as one exposure step is huge.
92
+ which leads to oscillating as one exposure step is huge.
10293
10394 Returns 0 if no changes were made, 1 if the gain and or exposure settings
10495 where changed. */