diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 14:56:16 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-12-16 22:08:38 +0000 |
commit | 68ca4087a2c47400158dcf91b1556acff835d6b8 (patch) | |
tree | f97e6d6dcd17975e0d9588647368c545472cc115 | |
parent | e842d8fbbc67385b464d38424133968b5f516056 (diff) | |
download | linux-stable-68ca4087a2c47400158dcf91b1556acff835d6b8.tar.gz linux-stable-68ca4087a2c47400158dcf91b1556acff835d6b8.tar.bz2 linux-stable-68ca4087a2c47400158dcf91b1556acff835d6b8.zip |
ASoC: wm8994: Mark expected switch fall-through
commit 2cea1542859bc812f1ec51ea71c06e927e5b922e upstream.
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 115050 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | sound/soc/codecs/wm8994.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index e1bb8b036909..14258dd51f5e 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -2427,6 +2427,7 @@ static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai, snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_2, WM8994_OPCLK_ENA, 0); } + /* fall through */ default: return -EINVAL; |