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:
17c81d2
)
ASoC: adav80x: mark expected switch fall-through
author
Gustavo A. R. Silva
<
[email protected]
>
Wed, 8 Aug 2018 19:19:33 +0000
(14:19 -0500)
committer
Mark Brown
<
[email protected]
>
Thu, 9 Aug 2018 13:41:50 +0000
(14:41 +0100)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID:
1056531
("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <
[email protected]
>
Acked-by: Lars-Peter Clausen <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/adav80x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/adav80x.c
b/sound/soc/codecs/adav80x.c
index db21ecbe07625b5f972797de08ff51694f98c2df..8b9ca7e7a68242b5d2a632f6586fafe9b13e55a6 100644
(file)
--- a/
sound/soc/codecs/adav80x.c
+++ b/
sound/soc/codecs/adav80x.c
@@
-648,6
+648,7
@@
static int adav80x_set_pll(struct snd_soc_component *component, int pll_id,
pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV;
break;
}
+ /* fall through */
default:
return -EINVAL;
}