From c943542eb8e8d09041a81cf3db5f4543a09a6b80 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 8 Oct 2008 13:02:20 +0100 Subject: [PATCH] --- yaml --- r: 111087 b: refs/heads/master c: fb2aa074d4eac4957f5717d261bc336f4a5f31c4 h: refs/heads/master i: 111085: f02e649704ab4d5fe8d6198b1103a3569cbe0b6d 111083: 4b64d1f5fc5e93dcd46b2f40d5e2e078b03e5b4a 111079: 0ac687f538fe9513a61444c369768250edf87fa4 111071: 175f30c2cdd4b475ce6089e11a9cab625ab5056b v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/neo1973_wm8753.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ca37b195ed68..1959c7ca1dda 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 32fe61426373d85e797bf4f4dcbe4510487c3e00 +refs/heads/master: fb2aa074d4eac4957f5717d261bc336f4a5f31c4 diff --git a/trunk/sound/soc/s3c24xx/neo1973_wm8753.c b/trunk/sound/soc/s3c24xx/neo1973_wm8753.c index 47ddcdedc3a4..73a50e93a9a2 100644 --- a/trunk/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/trunk/sound/soc/s3c24xx/neo1973_wm8753.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -716,6 +717,12 @@ static int __init neo1973_init(void) DBG("Entered %s\n", __func__); + if (!machine_is_neo1973_gta01()) { + printk(KERN_INFO + "Only GTA01 hardware supported by ASoC driver\n"); + return -ENODEV; + } + neo1973_snd_device = platform_device_alloc("soc-audio", -1); if (!neo1973_snd_device) return -ENOMEM;