summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-04 23:11:03 +0300
committerTakashi Iwai <tiwai@suse.de>2018-08-06 10:33:42 +0300
commitac69c2f578bf51a3804c5e96467571ea5be0e882 (patch)
tree46b7f3287cd132a99633757bb0f7230e85ceec3c
parent56e40eb6d656194e55ce2012fee9d5a496270aaa (diff)
downloadlinux-ac69c2f578bf51a3804c5e96467571ea5be0e882.tar.xz
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 */