]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bug
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)
commit75fc235fe0f671b56873a75994513df5e665b053
tree45328c22a510d530ec420cee969ed2330bacbecb
parent6d6e285e5a7912b1ea68fadac387304c914aaba8
OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bug

If _omap2_clk_enable() fails, the clock's usecount must be decremented by
one no matter whether the clock has a parent or not.

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