| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Aztech AZT1605/AZT2316 Driver |
|---|
| 3 | 4 | * Copyright (C) 2007,2010 Rene Herman |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software: you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 7 | | - * the Free Software Foundation, either version 2 of the License, or |
|---|
| 8 | | - * (at your option) any later version. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | | - * |
|---|
| 15 | | - * You should have received a copy of the GNU General Public License |
|---|
| 16 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 17 | | - * |
|---|
| 18 | 5 | */ |
|---|
| 19 | 6 | |
|---|
| 20 | 7 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 260 | 247 | break; |
|---|
| 261 | 248 | case 2: |
|---|
| 262 | 249 | irq[n] = 9; |
|---|
| 263 | | - /* Fall through */ |
|---|
| 250 | + fallthrough; |
|---|
| 264 | 251 | case 9: |
|---|
| 265 | 252 | wss_config[n] |= WSS_CONFIG_IRQ_9; |
|---|
| 266 | 253 | break; |
|---|
| .. | .. |
|---|
| 305 | 292 | case 1: |
|---|
| 306 | 293 | if (dma1[n] == 0) |
|---|
| 307 | 294 | break; |
|---|
| 308 | | - /* Fall through */ |
|---|
| 295 | + fallthrough; |
|---|
| 309 | 296 | default: |
|---|
| 310 | 297 | dev_err(dev, "invalid capture DMA %d\n", dma2[n]); |
|---|
| 311 | 298 | return 0; |
|---|
| .. | .. |
|---|
| 335 | 322 | break; |
|---|
| 336 | 323 | case 2: |
|---|
| 337 | 324 | mpu_irq[n] = 9; |
|---|
| 338 | | - /* Fall through */ |
|---|
| 325 | + fallthrough; |
|---|
| 339 | 326 | case 9: |
|---|
| 340 | 327 | config[n] |= GALAXY_CONFIG_MPUIRQ_2; |
|---|
| 341 | 328 | break; |
|---|