diff options
author | David Lechner <david@lechnology.com> | 2016-04-14 14:13:35 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-04-27 16:03:49 +0530 |
commit | 6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91 (patch) | |
tree | 38703cfb86206cc00acef60a545f8cbc3ac1e676 /arch/arm/mach-davinci/common.c | |
parent | 8a9d088f66f84d7317b4adc64d3d3114f1ee8583 (diff) | |
download | linux-6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91.tar.bz2 |
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.c | 6 |
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; |