hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/ps3/ps3av_cmd.c
....@@ -1,21 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2006 Sony Computer Entertainment Inc.
34 * Copyright 2006, 2007 Sony Corporation
45 *
56 * 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.
197 */
208
219 #include <linux/module.h>
....@@ -705,11 +693,11 @@
705693 switch (ch) {
706694 case PS3AV_CMD_AUDIO_NUM_OF_CH_8:
707695 audio->audio_enable[3] = 1;
708
- /* fall through */
696
+ fallthrough;
709697 case PS3AV_CMD_AUDIO_NUM_OF_CH_6:
710698 audio->audio_enable[2] = 1;
711699 audio->audio_enable[1] = 1;
712
- /* fall through */
700
+ fallthrough;
713701 case PS3AV_CMD_AUDIO_NUM_OF_CH_2:
714702 default:
715703 audio->audio_enable[0] = 1;