ARM: OMAP2+: hwmod_core: enable optional clocks before main clock
authorTero Kristo <t-kristo@ti.com>
Fri, 22 Dec 2017 09:26:03 +0000 (11:26 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Dec 2017 18:48:07 +0000 (10:48 -0800)
commit392ea5dd0ff265f7557405fcbdf35acd34cf4ab8
tree551de581956e5a28c8d0aa73cc96ae59ee95469b
parent234c91d4a350835df8362f6bc968ccf052c60d58
ARM: OMAP2+: hwmod_core: enable optional clocks before main clock

The optional clocks must be enabled before the main clock after the
transition to clkctrl controlled clocks is done. Otherwise the module
we attempt to enable might be stuck in transition.

Reported-by: Keerthy <j-keerthy@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c