From: mcuos.com@gmail.com (Wan ZongShun)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: NUC900: add clock source select for ac97 and i2s
Date: Tue, 15 Nov 2011 20:31:13 +0800 [thread overview]
Message-ID: <4EC25B91.9050806@gmail.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Wan ZongShun <mcuos.com@gmail.com>
To: linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Russell King <linux@arm.linux.org.uk>
Subject: [PATCH] ARM: NUC900: add clock source select for ac97 and i2s
Date: Tue, 15 Nov 2011 20:31:13 +0800 [thread overview]
Message-ID: <4EC25B91.9050806@gmail.com> (raw)
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
next reply other threads:[~2011-11-15 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 12:31 Wan ZongShun [this message]
2011-11-15 12:31 ` [PATCH] ARM: NUC900: add clock source select for ac97 and i2s Wan ZongShun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EC25B91.9050806@gmail.com \
--to=mcuos.com@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.