summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-10-30 08:35:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-13 12:01:49 +0900
commitb187d81c10722b118c9a84fc5518cf062f6d9e7f (patch)
tree6dfcc5300fbfcbfaa24542418c44a9e7d80e79db
parent5812381adfde20cb352d3047190ab45ea5bb59f2 (diff)
downloadlwn-b187d81c10722b118c9a84fc5518cf062f6d9e7f.tar.gz
lwn-b187d81c10722b118c9a84fc5518cf062f6d9e7f.zip
ASoC: wm_hubs: Add missing break in hp_supply_event()
commit 268ff14525edba31da29a12a9dd693cdd6a7872e upstream. Spotted by coverity CID 115170. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/soc/codecs/wm_hubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 6c028c470601..fec98cf3b2c0 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -413,6 +413,7 @@ static int hp_supply_event(struct snd_soc_dapm_widget *w,
hubs->hp_startup_mode);
break;
}
+ break;
case SND_SOC_DAPM_PRE_PMD:
snd_soc_update_bits(codec, WM8993_CHARGE_PUMP_1,