| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * TI TRF7970a RFID/NFC Transceiver Driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Author: Erick Macias <emacias@ti.com> |
|---|
| 7 | 8 | * Author: Felipe Balbi <balbi@ti.com> |
|---|
| 8 | 9 | * Author: Mark A. Greer <mgreer@animalcreek.com> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software: you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License version 2 of |
|---|
| 12 | | - * the License as published by the Free Software Foundation. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 1156 | 1153 | dev_err(trf->dev, "%s - Invalid request: %d %d\n", |
|---|
| 1157 | 1154 | __func__, trf->state, on); |
|---|
| 1158 | 1155 | ret = -EINVAL; |
|---|
| 1159 | | - /* FALLTHROUGH */ |
|---|
| 1156 | + fallthrough; |
|---|
| 1160 | 1157 | case TRF7970A_ST_IDLE: |
|---|
| 1161 | 1158 | case TRF7970A_ST_IDLE_RX_BLOCKED: |
|---|
| 1162 | 1159 | case TRF7970A_ST_WAIT_FOR_RX_DATA: |
|---|
| .. | .. |
|---|
| 1385 | 1382 | case ISO15693_CMD_WRITE_DSFID: |
|---|
| 1386 | 1383 | case ISO15693_CMD_LOCK_DSFID: |
|---|
| 1387 | 1384 | return 1; |
|---|
| 1388 | | - break; |
|---|
| 1389 | 1385 | default: |
|---|
| 1390 | 1386 | return 0; |
|---|
| 1391 | 1387 | } |
|---|
| .. | .. |
|---|
| 1963 | 1959 | case TRF7970A_ST_WAIT_TO_ISSUE_EOF: |
|---|
| 1964 | 1960 | case TRF7970A_ST_LISTENING: |
|---|
| 1965 | 1961 | trf7970a_send_err_upstream(trf, -ECANCELED); |
|---|
| 1966 | | - /* FALLTHROUGH */ |
|---|
| 1962 | + fallthrough; |
|---|
| 1967 | 1963 | case TRF7970A_ST_IDLE: |
|---|
| 1968 | 1964 | case TRF7970A_ST_IDLE_RX_BLOCKED: |
|---|
| 1969 | 1965 | trf7970a_switch_rf_off(trf); |
|---|