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>
This commit is contained in:
Gustavo A. R. Silva 2018-08-03 11:29:53 -05:00 committed by Mark Brown
parent 1a12d5dc7d
commit 16bbeb2b43
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id,
break; break;
case ESAI_HCKT_EXTAL: case ESAI_HCKT_EXTAL:
ecr |= ESAI_ECR_ETI; ecr |= ESAI_ECR_ETI;
/* fall through */
case ESAI_HCKR_EXTAL: case ESAI_HCKR_EXTAL:
ecr |= ESAI_ECR_ERI; ecr |= ESAI_ECR_ERI;
break; break;