浏览代码

ASOC: S5PC100: Enable AC97 support

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

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Jassi Brar 15 年之前
父节点
当前提交
3dedece4a5
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      sound/soc/s3c24xx/Kconfig
  2. 1 0
      sound/soc/s3c24xx/smdk_wm9713.c

+ 2 - 2
sound/soc/s3c24xx/Kconfig

@@ -1,6 +1,6 @@
 config SND_S3C24XX_SOC
 config SND_S3C24XX_SOC
 	tristate "SoC Audio for the Samsung S3CXXXX chips"
 	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
 	select S3C64XX_DMA if ARCH_S3C64XX
 	help
 	help
 	  Say Y or M if you want to add support for codecs attached to
 	  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
 config SND_SOC_SMDK_WM9713
 	tristate "SoC AC97 Audio support for SMDK with 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_SOC_WM9713
 	select SND_S3C_SOC_AC97
 	select SND_S3C_SOC_AC97
 	help
 	help

+ 1 - 0
sound/soc/s3c24xx/smdk_wm9713.c

@@ -25,6 +25,7 @@ static struct snd_soc_card smdk;
  * Default CFG switch settings to use this driver:
  * Default CFG switch settings to use this driver:
  *
  *
  *   SMDK6410: Set CFG1 1-3 On, CFG2 1-4 Off
  *   SMDK6410: Set CFG1 1-3 On, CFG2 1-4 Off
+ *   SMDKC100: Set CFG6 1-3 On, CFG7 1   On
  */
  */
 
 
 /*
 /*