]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP2+: timer: change order of hwmod data handling
authorTero Kristo <t-kristo@ti.com>
Thu, 30 Jun 2016 13:15:01 +0000 (16:15 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Jul 2016 14:15:28 +0000 (07:15 -0700)
commite98580e880fb88810a1cd2a1a2583371fc0aa19e
treef038b1509ad48812523c48d0717a124dc09b22cd
parent9fabc1a26e37f88cb19d5def300970a26604d9a4
ARM: OMAP2+: timer: change order of hwmod data handling

With the introduction of hwmod module clocks, the name of the hwmod
main clk may not be available before hwmod setup, as hwmod setup
may lookup the main clock dynamically based on the hwmod name.
Thus, change the order of hwmod setup and main clock handling for
the timer code, to make sure the main clock is going to be
available.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c