| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * DVB USB Linux driver for Afatech AF9015 DVB-T USB2.0 receiver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 Antti Palosaari <crope@iki.fi> |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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 | | - * |
|---|
| 18 | 8 | */ |
|---|
| 19 | 9 | |
|---|
| 20 | 10 | #include "af9015.h" |
|---|
| .. | .. |
|---|
| 53 | 43 | case READ_I2C: |
|---|
| 54 | 44 | write = 0; |
|---|
| 55 | 45 | state->buf[2] |= 0x01; /* set I2C direction */ |
|---|
| 56 | | - /* fall through */ |
|---|
| 46 | + fallthrough; |
|---|
| 57 | 47 | case WRITE_I2C: |
|---|
| 58 | 48 | state->buf[0] = READ_WRITE_I2C; |
|---|
| 59 | 49 | break; |
|---|