summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/common.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-04-14 21:13:35 +0200
committerSekhar Nori <nsekhar@ti.com>2016-04-27 12:33:49 +0200
commit6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91 (patch)
tree38703cfb86206cc00acef60a545f8cbc3ac1e676 /arch/arm/mach-davinci/common.c
parentARM: davinci: clk: add set_parent callback for mux clocks (diff)
downloadlinux-6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91.tar.xz
linux-6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91.zip
ARM: davinci: Move clock init after ioremap.
Some clocks (such as the USB PHY clocks in DA8xx) will need to use iomem. The davinci_common_init() function must be called before the ioremap, so the clock init is now split out as separate function. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/common.c')
-rw-r--r--arch/arm/mach-davinci/common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
index f55ef2ef2f92..6bc8c22b8ace 100644
--- a/arch/arm/mach-davinci/common.c
+++ b/arch/arm/mach-davinci/common.c
@@ -103,12 +103,6 @@ void __init davinci_common_init(struct davinci_soc_info *soc_info)
if (ret < 0)
goto err;
- if (davinci_soc_info.cpu_clks) {
- ret = davinci_clk_init(davinci_soc_info.cpu_clks);
-
- if (ret != 0)
- goto err;
- }
return;