[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4EC25B91.9050806@gmail.com>
Date: Tue, 15 Nov 2011 20:31:13 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Russell King <linux@....linux.org.uk>
Subject: [PATCH] ARM: NUC900: add clock source select for ac97 and i2s
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists