diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-04-27 02:57:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-07 11:46:06 -0400 |
commit | d0bbc24d2ab78d9efc61bc80cfc85f59626ba5af (patch) | |
tree | f06c4f57eb09c8e683664f3d1bbf1a3845fab6e3 /sound/soc | |
parent | af56b1c27b909e06318d26416d7b21fe6483224a (diff) |
ASoC: SMDK64XX: Switch to IISv4 CPU driver
Switch the MACHINE driver to use IISv4 CPU dai.
Remove BROKEN dependency now that we have proper CPU driver available.
Also, disable build for SMDK6400, since the S3C6400 doesn't have IISv4
controller.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/s3c24xx/Kconfig | 7 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smdk64xx_wm8580.c | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig index c0c7edf792fd..2a7cc222d098 100644 --- a/sound/soc/s3c24xx/Kconfig +++ b/sound/soc/s3c24xx/Kconfig | |||
@@ -64,12 +64,11 @@ config SND_S3C24XX_SOC_JIVE_WM8750 | |||
64 | 64 | ||
65 | config SND_S3C64XX_SOC_WM8580 | 65 | config SND_S3C64XX_SOC_WM8580 |
66 | tristate "SoC I2S Audio support for WM8580 on SMDK64XX" | 66 | tristate "SoC I2S Audio support for WM8580 on SMDK64XX" |
67 | depends on SND_S3C24XX_SOC && (MACH_SMDK6400 || MACH_SMDK6410) | 67 | depends on SND_S3C24XX_SOC && MACH_SMDK6410 |
68 | depends on BROKEN | ||
69 | select SND_SOC_WM8580 | 68 | select SND_SOC_WM8580 |
70 | select SND_S3C64XX_SOC_I2S | 69 | select SND_S3C64XX_SOC_I2S_V4 |
71 | help | 70 | help |
72 | Sat Y if you want to add support for SoC audio on the SMDK64XX. | 71 | Say Y if you want to add support for SoC audio on the SMDK6410. |
73 | 72 | ||
74 | config SND_S3C24XX_SOC_SMDK2443_WM9710 | 73 | config SND_S3C24XX_SOC_SMDK2443_WM9710 |
75 | tristate "SoC AC97 Audio support for SMDK2443 - WM9710" | 74 | tristate "SoC AC97 Audio support for SMDK2443 - WM9710" |
diff --git a/sound/soc/s3c24xx/smdk64xx_wm8580.c b/sound/soc/s3c24xx/smdk64xx_wm8580.c index efe4901213a3..07e8e51d10d6 100644 --- a/sound/soc/s3c24xx/smdk64xx_wm8580.c +++ b/sound/soc/s3c24xx/smdk64xx_wm8580.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include "s3c-dma.h" | 22 | #include "s3c-dma.h" |
23 | #include "s3c64xx-i2s.h" | 23 | #include "s3c64xx-i2s.h" |
24 | 24 | ||
25 | #define S3C64XX_I2S_V4 2 | ||
26 | |||
27 | /* SMDK64XX has a 12MHZ crystal attached to WM8580 */ | 25 | /* SMDK64XX has a 12MHZ crystal attached to WM8580 */ |
28 | #define SMDK64XX_WM8580_FREQ 12000000 | 26 | #define SMDK64XX_WM8580_FREQ 12000000 |
29 | 27 | ||
@@ -215,7 +213,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { | |||
215 | { /* Primary Playback i/f */ | 213 | { /* Primary Playback i/f */ |
216 | .name = "WM8580 PAIF RX", | 214 | .name = "WM8580 PAIF RX", |
217 | .stream_name = "Playback", | 215 | .stream_name = "Playback", |
218 | .cpu_dai = &s3c64xx_i2s_dai[S3C64XX_I2S_V4], | 216 | .cpu_dai = &s3c64xx_i2s_v4_dai, |
219 | .codec_dai = &wm8580_dai[WM8580_DAI_PAIFRX], | 217 | .codec_dai = &wm8580_dai[WM8580_DAI_PAIFRX], |
220 | .init = smdk64xx_wm8580_init_paifrx, | 218 | .init = smdk64xx_wm8580_init_paifrx, |
221 | .ops = &smdk64xx_ops, | 219 | .ops = &smdk64xx_ops, |
@@ -223,7 +221,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { | |||
223 | { /* Primary Capture i/f */ | 221 | { /* Primary Capture i/f */ |
224 | .name = "WM8580 PAIF TX", | 222 | .name = "WM8580 PAIF TX", |
225 | .stream_name = "Capture", | 223 | .stream_name = "Capture", |
226 | .cpu_dai = &s3c64xx_i2s_dai[S3C64XX_I2S_V4], | 224 | .cpu_dai = &s3c64xx_i2s_v4_dai, |
227 | .codec_dai = &wm8580_dai[WM8580_DAI_PAIFTX], | 225 | .codec_dai = &wm8580_dai[WM8580_DAI_PAIFTX], |
228 | .init = smdk64xx_wm8580_init_paiftx, | 226 | .init = smdk64xx_wm8580_init_paiftx, |
229 | .ops = &smdk64xx_ops, | 227 | .ops = &smdk64xx_ops, |