Commit 64a07133 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/fix/atmel-build' into asoc-linus

parents 13a7a6ac d7a6fe01
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <asm/mach-types.h>
#include "../codecs/wm8731.h" #include "../codecs/wm8731.h"
#include "atmel-pcm.h" #include "atmel-pcm.h"
#include "atmel_ssc_dai.h" #include "atmel_ssc_dai.h"
...@@ -171,8 +169,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev) ...@@ -171,8 +169,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
int ret; int ret;
if (!np) { if (!np) {
if (!(machine_is_at91sam9g20ek() ||
machine_is_at91sam9g20ek_2mmc()))
return -ENODEV; return -ENODEV;
} }
...@@ -210,7 +206,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev) ...@@ -210,7 +206,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
card->dev = &pdev->dev; card->dev = &pdev->dev;
/* Parse device node info */ /* Parse device node info */
if (np) {
ret = snd_soc_of_parse_card_name(card, "atmel,model"); ret = snd_soc_of_parse_card_name(card, "atmel,model");
if (ret) if (ret)
goto err; goto err;
...@@ -242,7 +237,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev) ...@@ -242,7 +237,6 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
of_node_put(codec_np); of_node_put(codec_np);
of_node_put(cpu_np); of_node_put(cpu_np);
}
ret = snd_soc_register_card(card); ret = snd_soc_register_card(card);
if (ret) { if (ret) {
......
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