diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 14:51:59 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-02 10:46:11 +0100 |
commit | 3eb7dbc6d844d2033271434d02ff90ac9b19e393 (patch) | |
tree | 0dbabc2dda147b56b64e3e7c7e5359d1a2434c7b | |
parent | 85e7e77079f3201799467803f6c8533a9921e32d (diff) | |
download | op-kernel-dev-3eb7dbc6d844d2033271434d02ff90ac9b19e393.zip op-kernel-dev-3eb7dbc6d844d2033271434d02ff90ac9b19e393.tar.gz |
ASoC: wm8960: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 115041 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm8960.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index c30f5aa..8dc1f3d 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c @@ -839,6 +839,7 @@ static int wm8960_hw_params(struct snd_pcm_substream *substream, iface |= 0x000c; break; } + /* fall through */ default: dev_err(component->dev, "unsupported width %d\n", params_width(params)); |