ASoC: at91sam9g20ek_2mmc board uses same audio connexion as at91sam9g20ek
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 8 Oct 2009 16:19:49 +0000 (18:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 9 Oct 2009 11:41:55 +0000 (12:41 +0100)
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>
sound/soc/atmel/sam9g20_wm8731.c

index 885ba01..e028744 100644 (file)
@@ -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;
 
        /*