ASoC: arizona: Add default case to silence build warning
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 4 Jul 2013 15:53:03 +0000 (16:53 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:07:02 +0000 (11:07 +0100)
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>
sound/soc/codecs/arizona.c

index c9116ac..8dc6881 100644 (file)
@@ -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");