forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/media/usb/dvb-usb-v2/af9015.c
....@@ -1,20 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * DVB USB Linux driver for Afatech AF9015 DVB-T USB2.0 receiver
34 *
45 * Copyright (C) 2007 Antti Palosaari <crope@iki.fi>
56 *
67 * Thanks to Afatech who kindly provided information.
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
188 */
199
2010 #include "af9015.h"
....@@ -53,7 +43,7 @@
5343 case READ_I2C:
5444 write = 0;
5545 state->buf[2] |= 0x01; /* set I2C direction */
56
- /* fall through */
46
+ fallthrough;
5747 case WRITE_I2C:
5848 state->buf[0] = READ_WRITE_I2C;
5949 break;