diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 22:53:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-02 12:46:12 +0300 |
commit | 42ef3c94ff6e8315377c04504f1bce50d1f21738 (patch) | |
tree | 9c1669b91e1aa6d30d89a30d549941efcf544167 /sound/soc | |
parent | da41787b9f319a7a23fcc8cf65c6ad646803962e (diff) | |
download | linux-42ef3c94ff6e8315377c04504f1bce50d1f21738.tar.xz |
ASoC: wm8996: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 146354 ("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')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index d9d206046f8c..78a408236cfb 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c @@ -1858,6 +1858,7 @@ static int wm8996_set_sysclk(struct snd_soc_dai *dai, case 24576000: ratediv = WM8996_SYSCLK_DIV; wm8996->sysclk /= 2; + /* fall through */ case 11289600: case 12288000: snd_soc_component_update_bits(component, WM8996_AIF_RATE, |