diff options
author | 2009-01-31 11:00:17 +0000 | |
---|---|---|
committer | 2009-02-08 17:50:46 +0000 | |
commit | a7f8c599c570fc0e2396e8fdccaeeeaefc41dac8 (patch) | |
tree | 46ffedd691670056203468f5ebfc32d5bf2a6ad8 /lib/debugobjects.c | |
parent | [ARM] OMAP clock: drop clk_get_usecount() (diff) | |
download | wireguard-linux-a7f8c599c570fc0e2396e8fdccaeeeaefc41dac8.tar.xz wireguard-linux-a7f8c599c570fc0e2396e8fdccaeeeaefc41dac8.zip |
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions