Skip to contentSkip to conversation

ASOC: S5PC100: Enable AC97 support

PATCH In review Jassi Brar 3 participants 3 messages May 27, 2010

Subsystems (2)
lore
Share & tools
lore

Jassi Brar

author
#0 lore raw

PATCH 1/2 ASOC: S5PC100: Enable AC97 support

From: Jassi Brar <[email protected]>

The S5PC100 has the AC97 controller same as S3C6410. Simply enable the options to build the drivers for S5PC100 also.

---
 sound/soc/s3c24xx/Kconfig       |    4 ++--
 sound/soc/s3c24xx/smdk_wm9713.c |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/Kconfig +2 -2
index 2a7cc22..aa112d3 100644
@@ -1,6 +1,6 @@
 config SND_S3C24XX_SOC
 	tristate "SoC Audio for the Samsung S3CXXXX chips"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC100
 	select S3C64XX_DMA if ARCH_S3C64XX
 	help
 	  Say Y or M if you want to add support for codecs attached to
@@ -120,7 +120,7 @@ config SND_S3C24XX_SOC_SIMTEC_HERMES
 
 config SND_SOC_SMDK_WM9713
 	tristate "SoC AC97 Audio support for SMDK with WM9713"
-	depends on SND_S3C24XX_SOC && MACH_SMDK6410
+	depends on SND_S3C24XX_SOC && (MACH_SMDK6410 || MACH_SMDKC100)
 	select SND_SOC_WM9713
 	select SND_S3C_SOC_AC97
 	help
sound/soc/s3c24xx/smdk_wm9713.c +1 -0
index 24fd39f..7dd85e5 100644
@@ -25,6 +25,7 @@ static struct snd_soc_card smdk;
  * Default CFG switch settings to use this driver:
  *
  *   SMDK6410: Set CFG1 1-3 On, CFG2 1-4 Off
+ *   SMDKC100: Set CFG6 1-3 On, CFG7 1   On
  */
 
 /*
Signature · 1 line
1.6.2.5
Acked-by on v1 1/2
#1 lore raw
Quoted 6 lines · Jassi Brar

From: Jassi Brar <[email protected]>

The S5PC100 has the AC97 controller same as S3C6410. Simply enable the options to build the drivers for S5PC100 also.

Quoted 6 lines
---
 sound/soc/s3c24xx/Kconfig       |    4 ++--
 sound/soc/s3c24xx/smdk_wm9713.c |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Both

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
#2 lore raw
Quoted 8 lines · Liam Girdwood
Quoted 3 lines · Jassi Brar

The S5PC100 has the AC97 controller same as S3C6410. Simply enable the options to build the drivers for S5PC100 also.

Both

Both applied, thanks.