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

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Sat Jan 17 16:21:27 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 0c05e7a..2eb0a47 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -276,6 +276,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:
@@ -1647,6 +1648,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