projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13be9f0
)
ARM i.MX28: use correct register for setting the rate
author
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 14 Jan 2011 14:23:12 +0000
(15:23 +0100)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 24 Jan 2011 08:01:39 +0000
(09:01 +0100)
_CLK_SET_RATE does not only handle the cpu clock but also other
clocks, so do not hardcode the HW_CLKCTRL_CPU register.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-mxs/clock-mx28.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mxs/clock-mx28.c
b/arch/arm/mach-mxs/clock-mx28.c
index 4146b38605de3d75ed60cde03433e015d6415b28..44acd9cd17790d436223cee3821c9154c7c2a156 100644
(file)
--- a/
arch/arm/mach-mxs/clock-mx28.c
+++ b/
arch/arm/mach-mxs/clock-mx28.c
@@
-360,7
+360,7
@@
static int name##_set_rate(struct clk *clk, unsigned long rate) \
return -EINVAL; \
} \
} \
- __raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_
CPU);
\
+ __raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_
##dr);
\
\
for (i = 10000; i; i--) \
if (!(__raw_readl(CLKCTRL_BASE_ADDR + \