summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-04 22:11:03 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-06 09:33:42 +0200
commitac69c2f578bf51a3804c5e96467571ea5be0e882 (patch)
tree46b7f3287cd132a99633757bb0f7230e85ceec3c
parentALSA: hda/realtek - Add mute LED quirk for HP Spectre x360 (diff)
downloadlinux-ac69c2f578bf51a3804c5e96467571ea5be0e882.tar.xz
linux-ac69c2f578bf51a3804c5e96467571ea5be0e882.zip
ALSA: mixart: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/mixart/mixart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c
index a74f1ad7e7b8..9cd297a42f24 100644
--- a/sound/pci/mixart/mixart.c
+++ b/sound/pci/mixart/mixart.c
@@ -182,6 +182,7 @@ static int mixart_set_clock(struct mixart_mgr *mgr,
case PIPE_RUNNING:
if(rate != 0)
break;
+ /* fall through */
default:
if(rate == 0)
return 0; /* nothing to do */