ARM: OMAP2+: hwmod: Invoke init_clkdm before other init functions
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 9 Jul 2012 12:54:30 +0000 (18:24 +0530)
committerPaul Walmsley <paul@pwsan.com>
Tue, 13 Nov 2012 02:10:19 +0000 (19:10 -0700)
commitb797be1d4c079e78a3cb4e95f4a74274a4aef9f5
tree92bfd5da412f5c15456f77e535fd43df99db4353
parent8577413c0a26e9bc0b412289640243f3b20f4517
ARM: OMAP2+: hwmod: Invoke init_clkdm before other init functions

Without this kernel would crash, since clkdm inside omap_hwmod
is accessed in some of the init functions like, _init_main_clk.

So call init_clkdm before _init_main_clk().

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mike Turquette <mturquette@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c