From: Gustavo A. R. Silva Date: Wed, 8 Aug 2018 19:19:33 +0000 (-0500) Subject: ASoC: adav80x: mark expected switch fall-through X-Git-Tag: v4.19-rc1~38^2~5^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f2cf0ef7c0ce141bb38f315c34c56e6ef5667a27;p=uclinux-h8%2Flinux.git 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 Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- 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; }