projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a12d5d
)
ASoC: fsl_esai: Mark expected switch fall-through
author
Gustavo A. R. Silva
<
[email protected]
>
Fri, 3 Aug 2018 16:29:53 +0000
(11:29 -0500)
committer
Mark Brown
<
[email protected]
>
Fri, 3 Aug 2018 16:59:21 +0000
(17:59 +0100)
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 <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/fsl/fsl_esai.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_esai.c
b/sound/soc/fsl/fsl_esai.c
index 8f43110373b813b9ccd5151f2a617a06ceee08d2..c1d1d06783e53e4d545b3a1e5d7cd4dae275e0cc 100644
(file)
--- 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;