Skip to contentSkip to conversation

ARM: NUC900: add clock source select for ac97 and i2s

PATCH New Wan ZongShun 1 participant 1 message Nov 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/mach-w90x900/clksel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/mach-w90x900/clksel.c +0 -0
index 3de4a52..76ccabe 100644
@@ -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;

Signature · 1 line
1.7.0.4