[6/6] ASoC: arizona: Add support for WM8280/WM8281
diff mbox

Message ID 1415901046-3391-7-git-send-email-rf@opensource.wolfsonmicro.com
State Accepted
Commit 575ef7f6d5df2aec86f407c76c0b95b3064e4b30
Headers show

Commit Message

Richard Fitzgerald Nov. 13, 2014, 5:50 p.m. UTC
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/arizona.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Mark Brown Nov. 18, 2014, 2:29 p.m. UTC | #1
On Thu, Nov 13, 2014 at 05:50:46PM +0000, Richard Fitzgerald wrote:
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Acked-by: Mark Brown <broonie@kernel.org>

Patch
diff mbox

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;