Skip to content
Commit a57aa185 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

clk: Silence warnings about lock imbalances



The recursive spinlock implementation trips up sparse and it
complains that these functions have lock imbalances. That isn't
really true though, so add some __acquires() and __releases()
information so that sparse is quiet.

drivers/clk/clk.c:116:22: warning: context imbalance in 'clk_enable_lock' - wrong count at exit
drivers/clk/clk.c:141:9: warning: context imbalance in 'clk_enable_unlock' - unexpected unlock

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 661e2180
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment