Skip to content
Commit a7f8c599 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] omap: fix usecount decrement bug



Based upon a patch from Paul Walmsley <paul@pwsan.com>:

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

but reorganised a bit.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent be5f34b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment