diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-08 14:04:31 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-08 21:28:23 +0000 |
commit | b0e92b515e2cbcad923ee1211f59c4b62e94ee37 (patch) | |
tree | d5670eddd47b8098d705929f94a9268b68b5e32b /sound/soc/codecs/wm8753.c | |
parent | 402954f8e573e4b610da6858b8431d4edfd754c8 (diff) | |
download | lwn-b0e92b515e2cbcad923ee1211f59c4b62e94ee37.tar.gz lwn-b0e92b515e2cbcad923ee1211f59c4b62e94ee37.zip |
ASoC: wm8753: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 146568
Addresses-Coverity-ID: 146569
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8753.c')
-rw-r--r-- | sound/soc/codecs/wm8753.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index d05d76e79c70..0271a5253bd3 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -971,7 +971,7 @@ static int wm8753_pcm_set_dai_fmt(struct snd_soc_codec *codec, case SND_SOC_DAIFMT_CBS_CFS: break; case SND_SOC_DAIFMT_CBM_CFM: - ioctl |= 0x2; + ioctl |= 0x2; /* fall through */ case SND_SOC_DAIFMT_CBM_CFS: voice |= 0x0040; break; @@ -1096,7 +1096,7 @@ static int wm8753_i2s_set_dai_fmt(struct snd_soc_codec *codec, case SND_SOC_DAIFMT_CBS_CFS: break; case SND_SOC_DAIFMT_CBM_CFM: - ioctl |= 0x1; + ioctl |= 0x1; /* fall through */ case SND_SOC_DAIFMT_CBM_CFS: hifi |= 0x0040; break; |