From: Gustavo A. R. Silva Date: Fri, 3 Aug 2018 16:29:53 +0000 (-0500) Subject: ASoC: fsl_esai: Mark expected switch fall-through X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=16bbeb2b43c3f5d69e1348477e75a24ae6d55d5a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mark Brown --- 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;