summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-03 11:29:53 -0500
committerMark Brown <broonie@kernel.org>2018-08-03 17:59:21 +0100
commit16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a (patch)
tree199b0a413fef6d0a2139f41e637889c12d1ac0f4 /sound/soc
parent1a12d5dc7dd1ffd985503f9770b736fb03db2e3f (diff)
downloadlinux-stable-16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a.tar.gz
linux-stable-16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a.tar.bz2
linux-stable-16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a.zip
ASoC: fsl_esai: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1222121 ("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/fsl/fsl_esai.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c
index 8f43110373b8..c1d1d06783e5 100644
--- a/sound/soc/fsl/fsl_esai.c
+++ b/sound/soc/fsl/fsl_esai.c
@@ -249,6 +249,7 @@ static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id,
break;
case ESAI_HCKT_EXTAL:
ecr |= ESAI_ECR_ETI;
+ /* fall through */
case ESAI_HCKR_EXTAL:
ecr |= ESAI_ECR_ERI;
break;