.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Sunplus spca504(abc) spca533 spca536 library |
---|
3 | 4 | * Copyright (C) 2005 Michel Xhaard mxhaard@magic.fr |
---|
4 | 5 | * |
---|
5 | 6 | * V4L2 by Jean-Francois Moine <http://moinejf.free.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 | | - * 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 |
---|
.. | .. |
---|
564 | 555 | case BRIDGE_SPCA504: |
---|
565 | 556 | case BRIDGE_SPCA504C: |
---|
566 | 557 | pollreg = 0; |
---|
567 | | - /* fall thru */ |
---|
| 558 | + fallthrough; |
---|
568 | 559 | default: |
---|
569 | 560 | /* case BRIDGE_SPCA533: */ |
---|
570 | 561 | /* case BRIDGE_SPCA504B: */ |
---|
.. | .. |
---|
647 | 638 | reg_w_riv(gspca_dev, 0x00, 0x2000, 0x00); |
---|
648 | 639 | reg_w_riv(gspca_dev, 0x00, 0x2301, 0x13); |
---|
649 | 640 | reg_w_riv(gspca_dev, 0x00, 0x2306, 0x00); |
---|
650 | | - /* fall thru */ |
---|
| 641 | + fallthrough; |
---|
651 | 642 | case BRIDGE_SPCA533: |
---|
652 | 643 | spca504B_PollingDataReady(gspca_dev); |
---|
653 | 644 | spca50x_GetFirmware(gspca_dev); |
---|