summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2009-10-08 18:19:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-09 12:41:55 +0100
commit69d2c2ae1dffac5fcd6130e459f250ae035b678f (patch)
tree98745fdd05070568e2b2163f666f200011c502aa
parentb727916a1f79f7a6e4603747b36a51777cb074e0 (diff)
downloadlinux-3.10-69d2c2ae1dffac5fcd6130e459f250ae035b678f.tar.gz
linux-3.10-69d2c2ae1dffac5fcd6130e459f250ae035b678f.tar.bz2
linux-3.10-69d2c2ae1dffac5fcd6130e459f250ae035b678f.zip
ASoC: 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@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/atmel/sam9g20_wm8731.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c
index 885ba012557..e028744c32c 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;
/*