aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-08 15:19:33 -0400
committerMark Brown <broonie@kernel.org>2018-08-09 09:41:50 -0400
commitf2cf0ef7c0ce141bb38f315c34c56e6ef5667a27 (patch)
treef41433bf1dc418875ab3e2452ede38f157c096bf
parent17c81d2f5a59929c73a2a19fd49fe0b068fda76f (diff)
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>
-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,
648 pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV; 648 pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV;
649 break; 649 break;
650 } 650 }
651 /* fall through */
651 default: 652 default:
652 return -EINVAL; 653 return -EINVAL;
653 } 654 }