ASoC: AC97: SMDK2443: Switch to s3c-ac97.c
authorJassi Brar <jassi.brar@samsung.com>
Wed, 27 Jan 2010 06:01:03 +0000 (15:01 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Jan 2010 20:49:49 +0000 (20:49 +0000)
Switch to use s3c-ac97.c AC97 controller driver.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/Kconfig
sound/soc/s3c24xx/smdk2443_wm9710.c

index d1c6f93924638dba80947bec8028717170e61ff3..8b62798a04b831a2b04d14da3203504ee9055eb1 100644 (file)
@@ -75,8 +75,10 @@ config SND_S3C64XX_SOC_WM8580
 config SND_S3C24XX_SOC_SMDK2443_WM9710
        tristate "SoC AC97 Audio support for SMDK2443 - WM9710"
        depends on SND_S3C24XX_SOC && MACH_SMDK2443
-       select SND_S3C2443_SOC_AC97
+       select S3C2410_DMA
+       select AC97_BUS
        select SND_SOC_AC97_CODEC
+       select SND_S3C_SOC_AC97
        help
          Say Y if you want to add support for SoC audio on smdk2443
          with the WM9710.
index 12b783b12fcbd3fefa50599156b3d7ea775f3428..362258835e8d9aec20c71c53e8df9a9acf7b6036 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "../codecs/ac97.h"
 #include "s3c-dma.h"
-#include "s3c24xx-ac97.h"
+#include "s3c-ac97.h"
 
 static struct snd_soc_card smdk2443;
 
@@ -29,7 +29,7 @@ static struct snd_soc_dai_link smdk2443_dai[] = {
 {
        .name = "AC97",
        .stream_name = "AC97 HiFi",
-       .cpu_dai = &s3c2443_ac97_dai[0],
+       .cpu_dai = &s3c_ac97_dai[S3C_AC97_DAI_PCM],
        .codec_dai = &ac97_dai,
 },
 };