summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_esai.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-03 18:29:53 +0200
committerMark Brown <broonie@kernel.org>2018-08-03 18:59:21 +0200
commit16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a (patch)
tree199b0a413fef6d0a2139f41e637889c12d1ac0f4 /sound/soc/fsl/fsl_esai.c
parentASoC: core: mark expected switch fall-through (diff)
downloadlinux-16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a.tar.xz
linux-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/fsl/fsl_esai.c')
-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;