| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2006 Sony Computer Entertainment Inc. |
|---|
| 3 | 4 | * Copyright 2006, 2007 Sony Corporation |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * AV backend support for PS3 |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published |
|---|
| 9 | | - * by the Free Software Foundation; version 2 of the License. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 14 | | - * General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 17 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 18 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 19 | 7 | */ |
|---|
| 20 | 8 | |
|---|
| 21 | 9 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 705 | 693 | switch (ch) { |
|---|
| 706 | 694 | case PS3AV_CMD_AUDIO_NUM_OF_CH_8: |
|---|
| 707 | 695 | audio->audio_enable[3] = 1; |
|---|
| 708 | | - /* fall through */ |
|---|
| 696 | + fallthrough; |
|---|
| 709 | 697 | case PS3AV_CMD_AUDIO_NUM_OF_CH_6: |
|---|
| 710 | 698 | audio->audio_enable[2] = 1; |
|---|
| 711 | 699 | audio->audio_enable[1] = 1; |
|---|
| 712 | | - /* fall through */ |
|---|
| 700 | + fallthrough; |
|---|
| 713 | 701 | case PS3AV_CMD_AUDIO_NUM_OF_CH_2: |
|---|
| 714 | 702 | default: |
|---|
| 715 | 703 | audio->audio_enable[0] = 1; |
|---|