.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Z-Star/Vimicro zc301/zc302p/vc30x driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2009-2012 Jean-Francois Moine <http://moinejf.free.fr> |
---|
5 | 6 | * Copyright (C) 2004 2005 2006 Michel Xhaard mxhaard@magic.fr |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License as published by |
---|
9 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
10 | | - * (at your option) any later version. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | | - * GNU General Public License for more details. |
---|
16 | 7 | */ |
---|
17 | 8 | |
---|
18 | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
3602 | 3593 | {0xaa, 0x14, 0x0081}, |
---|
3603 | 3594 | /* Other registers */ |
---|
3604 | 3595 | {0xa0, 0x37, ZC3XX_R101_SENSORCORRECTION}, |
---|
3605 | | -/* Frame retreiving */ |
---|
| 3596 | +/* Frame retrieving */ |
---|
3606 | 3597 | {0xa0, 0x00, ZC3XX_R019_AUTOADJUSTFPS}, |
---|
3607 | 3598 | /* Gains */ |
---|
3608 | 3599 | {0xa0, 0xa0, ZC3XX_R1A8_DIGITALGAIN}, |
---|
.. | .. |
---|
3718 | 3709 | {0xaa, 0x14, 0x0081}, |
---|
3719 | 3710 | /* Other registers */ |
---|
3720 | 3711 | {0xa0, 0x37, ZC3XX_R101_SENSORCORRECTION}, |
---|
3721 | | -/* Frame retreiving */ |
---|
| 3712 | +/* Frame retrieving */ |
---|
3722 | 3713 | {0xa0, 0x00, ZC3XX_R019_AUTOADJUSTFPS}, |
---|
3723 | 3714 | /* Gains */ |
---|
3724 | 3715 | {0xa0, 0xa0, ZC3XX_R1A8_DIGITALGAIN}, |
---|
.. | .. |
---|
6775 | 6766 | case SENSOR_HV7131R: |
---|
6776 | 6767 | case SENSOR_TAS5130C: |
---|
6777 | 6768 | reg_r(gspca_dev, 0x0008); |
---|
6778 | | - /* fall thru */ |
---|
| 6769 | + fallthrough; |
---|
6779 | 6770 | case SENSOR_PO2030: |
---|
6780 | 6771 | reg_w(gspca_dev, 0x03, 0x0008); |
---|
6781 | 6772 | break; |
---|
.. | .. |
---|
6824 | 6815 | case SENSOR_TAS5130C: |
---|
6825 | 6816 | reg_w(gspca_dev, 0x09, 0x01ad); /* (from win traces) */ |
---|
6826 | 6817 | reg_w(gspca_dev, 0x15, 0x01ae); |
---|
6827 | | - /* fall thru */ |
---|
| 6818 | + fallthrough; |
---|
6828 | 6819 | case SENSOR_PAS202B: |
---|
6829 | 6820 | case SENSOR_PO2030: |
---|
6830 | 6821 | /* reg_w(gspca_dev, 0x40, ZC3XX_R117_GGAIN); in win traces */ |
---|