[alsa-devel] [RESEND PATCH 6/6] ASoC: arizona: Add support for WM8280/WM8281

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Tue Feb 10 12:18:30 CET 2015


From: Richard Fitzgerald <rf at opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf at opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie at kernel.org>
Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/arizona.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 9550d74..55b5e22 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -281,6 +281,7 @@ int arizona_init_gpio(struct snd_soc_codec *codec)
 
 	switch (arizona->type) {
 	case WM5110:
+	case WM8280:
 		snd_soc_dapm_disable_pin(&codec->dapm, "DRC2 Signal Activity");
 		break;
 	default:
@@ -1669,6 +1670,7 @@ static int arizona_calc_fratio(struct arizona_fll *fll,
 
 	switch (fll->arizona->type) {
 	case WM5110:
+	case WM8280:
 		if (fll->arizona->rev < 3 || sync)
 			return init_ratio;
 		break;
-- 
1.7.2.5



More information about the Alsa-devel mailing list