diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-06 08:14:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-06 09:04:06 -0400 |
commit | ad0eaee6195db1db1749dd46b9e6f4466793d178 (patch) | |
tree | c2f9c36865c8e8e9b706aeb67d9fec2e9b6852d5 | |
parent | 0961503412e3e13d82f885f9fb3af527edd58e47 (diff) |
ASoC: wm8994: Fix missing break in switch
Add missing break statement in order to prevent the code from falling
through to the default case.
Addresses-Coverity-ID: 115050 ("Missing break in switch")
Reported-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
-rw-r--r-- | sound/soc/codecs/wm8994.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 62f8c5b9ba92..14f1b0c0d286 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -2432,7 +2432,7 @@ static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai, | |||
2432 | snd_soc_component_update_bits(component, WM8994_POWER_MANAGEMENT_2, | 2432 | snd_soc_component_update_bits(component, WM8994_POWER_MANAGEMENT_2, |
2433 | WM8994_OPCLK_ENA, 0); | 2433 | WM8994_OPCLK_ENA, 0); |
2434 | } | 2434 | } |
2435 | /* fall through */ | 2435 | break; |
2436 | 2436 | ||
2437 | default: | 2437 | default: |
2438 | return -EINVAL; | 2438 | return -EINVAL; |