diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 22:47:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-02 12:46:07 +0300 |
commit | 9a73f6a235c2351adc07471519d4980e2fb33bbc (patch) | |
tree | c0c70ae51bb5b7d1af9da30463f894de8796b543 /sound/soc/codecs/wm8961.c | |
parent | 9fb4c2bf130b922c77c16a8368732699799c40de (diff) | |
download | linux-9a73f6a235c2351adc07471519d4980e2fb33bbc.tar.xz |
ASoC: wm8961: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1271173 ("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/soc/codecs/wm8961.c')
-rw-r--r-- | sound/soc/codecs/wm8961.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index f70f563d59f3..68b4cadc308f 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c @@ -653,6 +653,7 @@ static int wm8961_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) case SND_SOC_DAIFMT_DSP_B: aif |= WM8961_LRP; + /* fall through */ case SND_SOC_DAIFMT_DSP_A: aif |= 3; switch (fmt & SND_SOC_DAIFMT_INV_MASK) { |