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-Tag: submit/tizen/20190329.020226~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=beb985932da87029eeeed309caebba9fb73735be;p=platform%2Fkernel%2Flinux-exynos.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. Change-Id: I030b163708ab40f17cf500cff7a8f326b890b7f5 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 846e50646c83..07f815a730df 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -742,6 +742,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;