| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OV519 driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 20 | 21 | * |
|---|
| 21 | 22 | * Copyright (c) 2004-2007 Romain Beauxis <toots@rastageeks.org> |
|---|
| 22 | 23 | * Support for OV7670 sensors was contributed by Sam Skipsey <aoanla@yahoo.com> |
|---|
| 23 | | - * |
|---|
| 24 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 25 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 26 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 27 | | - * any later version. |
|---|
| 28 | | - * |
|---|
| 29 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 30 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 31 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 32 | | - * GNU General Public License for more details. |
|---|
| 33 | | - * |
|---|
| 34 | 24 | */ |
|---|
| 35 | 25 | |
|---|
| 36 | 26 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 1945 | 1935 | { 0x62, 0x5f }, /* was 0xd7, new from windrv 090403 */ |
|---|
| 1946 | 1936 | { 0x63, 0xff }, |
|---|
| 1947 | 1937 | { 0x64, 0x53 }, /* new windrv 090403 says 0x57, |
|---|
| 1948 | | - * maybe thats wrong */ |
|---|
| 1938 | + * maybe that's wrong */ |
|---|
| 1949 | 1939 | { 0x65, 0x00 }, |
|---|
| 1950 | 1940 | { 0x66, 0x55 }, |
|---|
| 1951 | 1941 | { 0x67, 0xb0 }, |
|---|
| .. | .. |
|---|
| 2014 | 2004 | break; |
|---|
| 2015 | 2005 | case BRIDGE_OVFX2: |
|---|
| 2016 | 2006 | req = 0x0a; |
|---|
| 2017 | | - /* fall through */ |
|---|
| 2007 | + fallthrough; |
|---|
| 2018 | 2008 | case BRIDGE_W9968CF: |
|---|
| 2019 | 2009 | gspca_dbg(gspca_dev, D_USBO, "SET %02x %04x %04x\n", |
|---|
| 2020 | 2010 | req, value, index); |
|---|
| .. | .. |
|---|
| 3538 | 3528 | case SEN_OV76BE: |
|---|
| 3539 | 3529 | if (sd->gspca_dev.pixfmt.width == 320) |
|---|
| 3540 | 3530 | interlaced = 1; |
|---|
| 3541 | | - /* Fall through */ |
|---|
| 3531 | + fallthrough; |
|---|
| 3542 | 3532 | case SEN_OV6630: |
|---|
| 3543 | 3533 | case SEN_OV7610: |
|---|
| 3544 | 3534 | case SEN_OV7670: |
|---|
| .. | .. |
|---|
| 3551 | 3541 | break; |
|---|
| 3552 | 3542 | } |
|---|
| 3553 | 3543 | /* For 640x480 case */ |
|---|
| 3554 | | - /* fall through */ |
|---|
| 3544 | + fallthrough; |
|---|
| 3555 | 3545 | default: |
|---|
| 3556 | 3546 | /* case 20: */ |
|---|
| 3557 | 3547 | /* case 15: */ |
|---|
| .. | .. |
|---|
| 3678 | 3668 | case SEN_OV7620AE: |
|---|
| 3679 | 3669 | /* |
|---|
| 3680 | 3670 | * HdG: 640x480 needs special handling on device |
|---|
| 3681 | | - * revision 2, we check for device revison > 0 to |
|---|
| 3671 | + * revision 2, we check for device revision > 0 to |
|---|
| 3682 | 3672 | * avoid regressions, as we don't know the correct |
|---|
| 3683 | 3673 | * thing todo for revision 1. |
|---|
| 3684 | 3674 | * |
|---|