summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Helaakoski <tekkuli@gmail.com>2012-12-12 23:32:29 +0400
committerAlejandro Mery <amery@geeks.cl>2013-01-14 14:35:48 +0400
commit63c1cedd3374e08b4f4918c496f639483546ac26 (patch)
tree30c57da7627c47e100b000810416e7ae42ec0655
parent5636bd2377b2cc01b57dbe062d17d14bfff366af (diff)
downloadlinux-sunxi-63c1cedd3374e08b4f4918c496f639483546ac26.tar.xz
arm:mach-sun4i:clock: Fix for "[ccmu] try to set apb1 parent to sata_pll failed!" warning print. U-boot also uses OSC24M for apb1.
-rwxr-xr-xarch/arm/mach-sun4i/clock/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sun4i/clock/clock.c b/arch/arm/mach-sun4i/clock/clock.c
index 2619c6ddbd52..f7086e4cca3a 100755
--- a/arch/arm/mach-sun4i/clock/clock.c
+++ b/arch/arm/mach-sun4i/clock/clock.c
@@ -199,7 +199,7 @@ int clk_init(void)
tmpSclk = clk_get(NULL, "apb1");
if (tmpSclk) {
- struct clk *tmpClk = &ccu_sys_clk[AW_SYS_CLK_PLL6];
+ struct clk *tmpClk = &ccu_sys_clk[AW_SYS_CLK_HOSC];
clk_set_parent(tmpSclk, tmpClk);
} else {
CCU_ERR("try to get apb1 clock handle failed!\n");