diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-08 21:19:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-09 15:41:50 +0200 |
commit | f2cf0ef7c0ce141bb38f315c34c56e6ef5667a27 (patch) | |
tree | f41433bf1dc418875ab3e2452ede38f157c096bf /sound | |
parent | ASoC: da7219: Add delays to capture path to remove DC offset noise (diff) | |
download | linux-f2cf0ef7c0ce141bb38f315c34c56e6ef5667a27.tar.xz linux-f2cf0ef7c0ce141bb38f315c34c56e6ef5667a27.zip |
ASoC: adav80x: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1056531 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/adav80x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/adav80x.c b/sound/soc/codecs/adav80x.c index db21ecbe0762..8b9ca7e7a682 100644 --- a/sound/soc/codecs/adav80x.c +++ b/sound/soc/codecs/adav80x.c @@ -648,6 +648,7 @@ static int adav80x_set_pll(struct snd_soc_component *component, int pll_id, pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV; break; } + /* fall through */ default: return -EINVAL; } |