From: Gustavo A. R. Silva Date: Fri, 3 Aug 2018 16:33:57 +0000 (-0500) Subject: ASoC: samsung: i2s: Mark expected switch fall-through X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5019027a566de4986a7f66017cf0d6d794fc155f;p=openwrt%2Fstaging%2Fblogic.git ASoC: samsung: i2s: Mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1381093 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index f914ed45db7d..d6c62aa13041 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -710,6 +710,7 @@ static int i2s_hw_params(struct snd_pcm_substream *substream, switch (params_channels(params)) { case 6: val |= MOD_DC2_EN; + /* fall through */ case 4: val |= MOD_DC1_EN; break;