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:
8530ebf
)
ASoC: davinci-i2s: mark expected switch fall-through
author
Gustavo A. R. Silva
<
[email protected]
>
Fri, 3 Aug 2018 16:28:24 +0000
(11:28 -0500)
committer
Mark Brown
<
[email protected]
>
Fri, 3 Aug 2018 16:42:28 +0000
(17:42 +0100)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID:
1364478
("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/davinci/davinci-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/davinci/davinci-i2s.c
b/sound/soc/davinci/davinci-i2s.c
index 807040bb39215a714626da890339966791c7ab38..a3206e65e5e54d3abc84eea1f66fd02cd512e0bb 100644
(file)
--- a/
sound/soc/davinci/davinci-i2s.c
+++ b/
sound/soc/davinci/davinci-i2s.c
@@
-340,6
+340,7
@@
static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
* rate is lowered.
*/
inv_fs = true;
+ /* fall through */
case SND_SOC_DAIFMT_DSP_A:
dev->mode = MOD_DSP_A;
break;