summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-08 21:19:33 +0200
committerMark Brown <broonie@kernel.org>2018-08-09 15:41:50 +0200
commitf2cf0ef7c0ce141bb38f315c34c56e6ef5667a27 (patch)
treef41433bf1dc418875ab3e2452ede38f157c096bf /sound
parentASoC: da7219: Add delays to capture path to remove DC offset noise (diff)
downloadlinux-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.c1
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;
}