Commit 69d2c2ae authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Mark Brown

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: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b727916a
...@@ -207,7 +207,7 @@ static int __init at91sam9g20ek_init(void) ...@@ -207,7 +207,7 @@ static int __init at91sam9g20ek_init(void)
struct clk *pllb; struct clk *pllb;
int ret; int ret;
if (!machine_is_at91sam9g20ek()) if (!(machine_is_at91sam9g20ek() || machine_is_at91sam9g20ek_2mmc()))
return -ENODEV; return -ENODEV;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment