Browse Source

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>
Charles Keepax 12 years ago
parent
commit
b79fae606c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sound/soc/codecs/arizona.c

+ 3 - 0
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");