[alsa-devel] [PATCH] ASoC: arizona: Add default case to silence build warning

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Thu Jul 4 17:53:03 CEST 2013


Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/arizona.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index eb5c80d..bcf739d 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");
-- 
1.7.2.5



More information about the Alsa-devel mailing list