]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handling
authorPaul Walmsley <paul@pwsan.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
commit6d6e285e5a7912b1ea68fadac387304c914aaba8
treecff077bf413980f95f10d3028cf8bc0bc3d32761
parent18d4ecba1c1afc52379d5395766f442948822fc0
OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handling

omap2_clk_enable() should enable a clock's clockdomain before
attempting to enable its parent clock's clockdomain.  Similarly, in
the unlikely event that the parent clock enable fails, the clockdomain
should be disabled.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c