forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/usb/caiaq/device.c
....@@ -1,22 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * caiaq.c: ALSA driver for caiaq/NativeInstruments devices
34 *
45 * Copyright (c) 2007 Daniel Mack <daniel@caiaq.de>
56 * Karsten Wiese <fzu@wemgehoertderstaat.de>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218
229 #include <linux/moduleparam.h>
....@@ -200,6 +187,7 @@
200187 break;
201188 }
202189 #ifdef CONFIG_SND_USB_CAIAQ_INPUT
190
+ fallthrough;
203191 case EP1_CMD_READ_ERP:
204192 case EP1_CMD_READ_ANALOG:
205193 snd_usb_caiaq_input_dispatch(cdev, buf, urb->actual_length);