summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-09-30 08:38:59 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-30 08:38:59 +0200
commit82de1bc86c493ad832db270635fbf4e8c237f02f (patch)
treef70562cf3ae0a777ff55da734466627e2ab2478c /arch
parentMerge tag 'hix5hd2-clock-for-3.18-v2' of git://github.com/hisilicon/linux-his... (diff)
parentclk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe (diff)
downloadlinux-82de1bc86c493ad832db270635fbf4e8c237f02f.tar.xz
linux-82de1bc86c493ad832db270635fbf4e8c237f02f.zip
Merge branch 'for-v3.18/ti-clk-driver' of github.com:t-kristo/linux-pm into clk-next
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/io.c12
-rw-r--r--arch/arm/mach-omap2/prm_common.c2
2 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 5d0667c119f6..a1b82a994842 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -734,8 +734,16 @@ int __init omap_clk_init(void)
ti_clk_init_features();
ret = of_prcm_init();
- if (!ret)
- ret = omap_clk_soc_init();
+ if (ret)
+ return ret;
+
+ of_clk_init(NULL);
+
+ ti_dt_clk_init_retry_clks();
+
+ ti_dt_clockdomains_setup();
+
+ ret = omap_clk_soc_init();
return ret;
}
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index 76ca320f007c..3b890807f5e6 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
@@ -525,8 +525,6 @@ int __init of_prcm_init(void)
memmap_index++;
}
- ti_dt_clockdomains_setup();
-
return 0;
}