diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-03 18:33:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-03 18:59:29 +0200 |
commit | 5019027a566de4986a7f66017cf0d6d794fc155f (patch) | |
tree | efcd1e7005c98245ee15181610e750a503dcd0dd /sound | |
parent | ASoC: omap-dmic: Mark expected switch fall-throughs (diff) | |
download | linux-5019027a566de4986a7f66017cf0d6d794fc155f.tar.xz linux-5019027a566de4986a7f66017cf0d6d794fc155f.zip |
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 <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/i2s.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |