alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASOC: S5PC100: Enable AC97 support
@ 2010-05-27  3:11 Jassi Brar
  2010-05-27  7:55 ` Liam Girdwood
  0 siblings, 1 reply; 3+ messages in thread
From: Jassi Brar @ 2010-05-27  3:11 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, Jassi Brar, ben-linux, lrg

From: Jassi Brar <jassi.brar@samsung.com>

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>
---
 sound/soc/s3c24xx/Kconfig       |    4 ++--
 sound/soc/s3c24xx/smdk_wm9713.c |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
index 2a7cc22..aa112d3 100644
--- a/sound/soc/s3c24xx/Kconfig
+++ b/sound/soc/s3c24xx/Kconfig
@@ -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
diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c
index 24fd39f..7dd85e5 100644
--- a/sound/soc/s3c24xx/smdk_wm9713.c
+++ b/sound/soc/s3c24xx/smdk_wm9713.c
@@ -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
  */
 
 /*
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ASOC: S5PC100: Enable AC97 support
  2010-05-27  3:11 [PATCH 1/2] ASOC: S5PC100: Enable AC97 support Jassi Brar
@ 2010-05-27  7:55 ` Liam Girdwood
  2010-05-27  8:06   ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Liam Girdwood @ 2010-05-27  7:55 UTC (permalink / raw)
  To: Jassi Brar; +Cc: alsa-devel, broonie, ben-linux, Jassi Brar

On Thu, 2010-05-27 at 12:11 +0900, Jassi Brar wrote:
> From: Jassi Brar <jassi.brar@samsung.com>
> 
> 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>
> ---
>  sound/soc/s3c24xx/Kconfig       |    4 ++--
>  sound/soc/s3c24xx/smdk_wm9713.c |    1 +
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
Both

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ASOC: S5PC100: Enable AC97 support
  2010-05-27  7:55 ` Liam Girdwood
@ 2010-05-27  8:06   ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2010-05-27  8:06 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, Jassi Brar, ben-linux, Jassi Brar

On Thu, May 27, 2010 at 08:55:37AM +0100, Liam Girdwood wrote:
> On Thu, 2010-05-27 at 12:11 +0900, Jassi Brar wrote:
> > The S5PC100 has the AC97 controller same as S3C6410.
> > Simply enable the options to build the drivers for
> > S5PC100 also.

> Both

> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>

Both applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-27  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27  3:11 [PATCH 1/2] ASOC: S5PC100: Enable AC97 support Jassi Brar
2010-05-27  7:55 ` Liam Girdwood
2010-05-27  8:06   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).