diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-07-30 01:15:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-31 14:07:03 +0300 |
commit | 22581e7c51f50fbbadba70499bb5e2d09f830cbb (patch) | |
tree | b76b73c67fa408b40b963fdbca8e1d23f8fc7cc2 /sound/soc/codecs | |
parent | ebdd7be5415c7795c77609ad908222038e441835 (diff) | |
download | linux-22581e7c51f50fbbadba70499bb5e2d09f830cbb.tar.xz |
ASoC: ti: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through.
This patch fixes the following warning (Building: arm):
sound/soc/ti/n810.c: In function ‘n810_ext_control’:
sound/soc/ti/n810.c:48:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
line1l = 1;
~~~~~~~^~~
sound/soc/ti/n810.c:49:2: note: here
case N810_JACK_HP:
^~~~
sound/soc/ti/rx51.c: In function ‘rx51_ext_control’:
sound/soc/ti/rx51.c:57:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
hs = 1;
~~~^~~
sound/soc/ti/rx51.c:58:2: note: here
case RX51_JACK_HP:
^~~~
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://lore.kernel.org/r/20190729221534.GA18696@embeddedor
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions