All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: NUC900: add clock source select for ac97 and i2s
@ 2011-11-15 12:31 ` Wan ZongShun
  0 siblings, 0 replies; 2+ messages in thread
From: Wan ZongShun @ 2011-11-15 12:31 UTC (permalink / raw)
  To: linux-arm-kernel

This patch is to add clock source select for ac97 and i2s,
since I will implement the i2s driver, so this "nuc900-audio" is not
yet specific for AC97.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>

---
 arch/arm/mach-w90x900/clksel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-w90x900/clksel.c b/arch/arm/mach-w90x900/clksel.c
index 3de4a52..76ccabe 100644
--- a/arch/arm/mach-w90x900/clksel.c
+++ b/arch/arm/mach-w90x900/clksel.c
@@ -48,7 +48,8 @@ static void clock_source_select(const char *dev_id,
unsigned int clkval)
 		offset = ATAOFFSET;
 	else if (strcmp(dev_id, "nuc900-lcd") == 0)
 		offset = LCDOFFSET;
-	else if (strcmp(dev_id, "nuc900-audio") == 0)
+	else if (strcmp(dev_id, "nuc900-audio-ac97") == 0 ||
+				strcmp(dev_id, "nuc900-audio-i2s") == 0)
 		offset = AUDOFFSET;
 	else
 		offset = CPUOFFSET;
-- 
1.7.0.4

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

* [PATCH] ARM: NUC900: add clock source select for ac97 and i2s
@ 2011-11-15 12:31 ` Wan ZongShun
  0 siblings, 0 replies; 2+ messages in thread
From: Wan ZongShun @ 2011-11-15 12:31 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, Russell King

This patch is to add clock source select for ac97 and i2s,
since I will implement the i2s driver, so this "nuc900-audio" is not
yet specific for AC97.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>

---
 arch/arm/mach-w90x900/clksel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-w90x900/clksel.c b/arch/arm/mach-w90x900/clksel.c
index 3de4a52..76ccabe 100644
--- a/arch/arm/mach-w90x900/clksel.c
+++ b/arch/arm/mach-w90x900/clksel.c
@@ -48,7 +48,8 @@ static void clock_source_select(const char *dev_id,
unsigned int clkval)
 		offset = ATAOFFSET;
 	else if (strcmp(dev_id, "nuc900-lcd") == 0)
 		offset = LCDOFFSET;
-	else if (strcmp(dev_id, "nuc900-audio") == 0)
+	else if (strcmp(dev_id, "nuc900-audio-ac97") == 0 ||
+				strcmp(dev_id, "nuc900-audio-i2s") == 0)
 		offset = AUDOFFSET;
 	else
 		offset = CPUOFFSET;
-- 
1.7.0.4

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

end of thread, other threads:[~2011-11-15 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 12:31 [PATCH] ARM: NUC900: add clock source select for ac97 and i2s Wan ZongShun
2011-11-15 12:31 ` Wan ZongShun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.