]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PM: OMAP3: Make sure clk_disable_unused() order is correct
authorTero Kristo <tero.kristo@nokia.com>
Wed, 12 Nov 2008 09:42:10 +0000 (11:42 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 7 Jan 2009 22:03:20 +0000 (14:03 -0800)
commit672680063420ef8c8c4e7271984bb9cc08171d29
tree0fe5e755332764139b8562040be9a0cad810ced9
parent22c1c7879d60d1419672ff9f6d162e89fe3cc1a1
PM: OMAP3: Make sure clk_disable_unused() order is correct

Current implementation will disable clocks in the order defined in clock34xx.h,
at least DPLL4_M2X2 will hang in certain cases (and prevent retention / off)
if clocks are not disabled in correct order. This patch makes sure the parent
clocks will be active when disabling a clock.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clock.c