aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-10-04 19:58:23 +0200
committerTakashi Iwai <tiwai@suse.de>2018-10-12 09:31:26 +0200
commit590b516e25636c696550b44b11fcfed42167adfd (patch)
treeee99fefb287f267c2e3902cb752199f1beafe3ab /sound
parentALSA: memalloc: Add fall-through annotation (diff)
downloadlinux-dev-590b516e25636c696550b44b11fcfed42167adfd.tar.xz
linux-dev-590b516e25636c696550b44b11fcfed42167adfd.zip
ALSA: caiaq: Add fall-through annotation
As a preparatory patch for the upcoming -Wimplicit-fallthrough compiler checks, add the "fall through" annotation in caiaq driver. Note that this seems necessary to be put exactly before the next label, so it's outside the ifdef block. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/caiaq/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
index d55ca48de3ea..f4a72e39ffa9 100644
--- a/sound/usb/caiaq/device.c
+++ b/sound/usb/caiaq/device.c
@@ -200,6 +200,7 @@ static void usb_ep1_command_reply_dispatch (struct urb* urb)
break;
}
#ifdef CONFIG_SND_USB_CAIAQ_INPUT
+ /* fall through */
case EP1_CMD_READ_ERP:
case EP1_CMD_READ_ANALOG:
snd_usb_caiaq_input_dispatch(cdev, buf, urb->actual_length);