summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-07-04 16:53:03 +0100
committerMark Brown <broonie@linaro.org>2013-07-15 11:07:02 +0100
commitb79fae606c921522577f3000b6b9a807cd733d2e (patch)
treeb6c21722f2df08d64914a9134e047b6a2c64b3ae
parentb63144e6c6097486e7678f9ecc2769b68d2ec83e (diff)
ASoC: arizona: Add default case to silence build warning
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/codecs/arizona.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index c9116ac0d4a..8dc6881496d 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -233,6 +233,9 @@ int arizona_init_gpio(struct snd_soc_codec *codec)
switch (arizona->type) {
case WM5110:
snd_soc_dapm_disable_pin(&codec->dapm, "DRC2 Signal Activity");
+ break;
+ default:
+ break;
}
snd_soc_dapm_disable_pin(&codec->dapm, "DRC1 Signal Activity");