diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-01-27 01:02:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-27 15:50:17 -0500 |
commit | c67d90ffd43a6cf18def21a0de7db56504d78295 (patch) | |
tree | 675dd83206aaada465f9825eb9b385d49aa83b38 /sound | |
parent | 1ec2963a8cd5fbc5f49dfa20c94229f1b46d1968 (diff) |
ASoC: AC97: LN2440SBC: Switch to s3c-ac97.c
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/s3c24xx/Kconfig | 7 | ||||
-rw-r--r-- | sound/soc/s3c24xx/ln2440sbc_alc650.c | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig index 8b62798a04b8..69d143e3ab25 100644 --- a/sound/soc/s3c24xx/Kconfig +++ b/sound/soc/s3c24xx/Kconfig | |||
@@ -29,9 +29,6 @@ config SND_S3C_SOC_PCM | |||
29 | 29 | ||
30 | config SND_S3C2443_SOC_AC97 | 30 | config SND_S3C2443_SOC_AC97 |
31 | tristate | 31 | tristate |
32 | select S3C2410_DMA | ||
33 | select AC97_BUS | ||
34 | select SND_SOC_AC97_BUS | ||
35 | 32 | ||
36 | config SND_S3C_SOC_AC97 | 33 | config SND_S3C_SOC_AC97 |
37 | tristate | 34 | tristate |
@@ -86,8 +83,10 @@ config SND_S3C24XX_SOC_SMDK2443_WM9710 | |||
86 | config SND_S3C24XX_SOC_LN2440SBC_ALC650 | 83 | config SND_S3C24XX_SOC_LN2440SBC_ALC650 |
87 | tristate "SoC AC97 Audio support for LN2440SBC - ALC650" | 84 | tristate "SoC AC97 Audio support for LN2440SBC - ALC650" |
88 | depends on SND_S3C24XX_SOC && ARCH_S3C2410 | 85 | depends on SND_S3C24XX_SOC && ARCH_S3C2410 |
89 | select SND_S3C2443_SOC_AC97 | 86 | select S3C2410_DMA |
87 | select AC97_BUS | ||
90 | select SND_SOC_AC97_CODEC | 88 | select SND_SOC_AC97_CODEC |
89 | select SND_S3C_SOC_AC97 | ||
91 | help | 90 | help |
92 | Say Y if you want to add support for SoC audio on ln2440sbc | 91 | Say Y if you want to add support for SoC audio on ln2440sbc |
93 | with the ALC650. | 92 | with the ALC650. |
diff --git a/sound/soc/s3c24xx/ln2440sbc_alc650.c b/sound/soc/s3c24xx/ln2440sbc_alc650.c index d00d359a03e6..ffa954fe6931 100644 --- a/sound/soc/s3c24xx/ln2440sbc_alc650.c +++ b/sound/soc/s3c24xx/ln2440sbc_alc650.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "../codecs/ac97.h" | 26 | #include "../codecs/ac97.h" |
27 | #include "s3c-dma.h" | 27 | #include "s3c-dma.h" |
28 | #include "s3c24xx-ac97.h" | 28 | #include "s3c-ac97.h" |
29 | 29 | ||
30 | static struct snd_soc_card ln2440sbc; | 30 | static struct snd_soc_card ln2440sbc; |
31 | 31 | ||
@@ -33,7 +33,7 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = { | |||
33 | { | 33 | { |
34 | .name = "AC97", | 34 | .name = "AC97", |
35 | .stream_name = "AC97 HiFi", | 35 | .stream_name = "AC97 HiFi", |
36 | .cpu_dai = &s3c2443_ac97_dai[0], | 36 | .cpu_dai = &s3c_ac97_dai[S3C_AC97_DAI_PCM], |
37 | .codec_dai = &ac97_dai, | 37 | .codec_dai = &ac97_dai, |
38 | }, | 38 | }, |
39 | }; | 39 | }; |