[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1255018789-3437-1-git-send-email-nicolas.ferre@atmel.com>
Date: Thu, 8 Oct 2009 18:19:49 +0200
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: alsa-devel@...a-project.org, broonie@...nsource.wolfsonmicro.com,
linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, sedji.gaouaou@...el.com,
Nicolas Ferre <nicolas.ferre@...el.com>
Subject: [PATCH] sound: at91sam9g20ek_2mmc board uses same audio connexion as at91sam9g20ek
The modified revision of at91sam9g20 Evaluation Kit rev. C and onwards share
with previous ones its audio connexion to Wolfson wm8731. Modify the SoC file
to extend the machine ID checking.
Signed-off-by: Nicolas Ferre <nicolas.ferre@...el.com>
---
sound/soc/atmel/sam9g20_wm8731.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c
index 885ba01..e028744 100644
--- a/sound/soc/atmel/sam9g20_wm8731.c
+++ b/sound/soc/atmel/sam9g20_wm8731.c
@@ -207,7 +207,7 @@ static int __init at91sam9g20ek_init(void)
struct clk *pllb;
int ret;
- if (!machine_is_at91sam9g20ek())
+ if (!(machine_is_at91sam9g20ek() || machine_is_at91sam9g20ek_2mmc()))
return -ENODEV;
/*
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists