]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ALSA: caiaq: Add fall-through annotation
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 17:58:23 +0000 (19:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Oct 2018 07:31:26 +0000 (09:31 +0200)
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>
sound/usb/caiaq/device.c

index d55ca48de3ea3ae7b8c04fad5b3c288e76d7ae27..f4a72e39ffa97239ea627b99e2c0b30b6ad7478e 100644 (file)
@@ -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);