]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] OMAP3: PM: Make sure clk_disable_unused() order is correct
authorTero Kristo <tero.kristo@nokia.com>
Wed, 28 Jan 2009 19:27:45 +0000 (12:27 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:40 +0000 (17:50 +0000)
commit8463e20a58e8b8c88fab948b8610504cbf604294
treef104ac8fefe110116b66af2730145e9e2b8658cb
parent0eafd4725cf5d828e76e474b8991a228bbdd3f2b
[ARM] OMAP3: PM: 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.

linux-omap source commit is 672680063420ef8c8c4e7271984bb9cc08171d29.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock.c