clk: unlock for handling unregistered clock
authorInsu Yun <wuninsu@gmail.com>
Sat, 30 Jan 2016 15:12:04 +0000 (10:12 -0500)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Feb 2016 19:54:07 +0000 (11:54 -0800)
commit4106a3d9ebb9839a8e93b0116c0f94dc4f10e4b2
tree12e9ecd8a2ddd632d691a28ee55a23f0324f2da7
parent7001ec560a82d1cc2ba5c0c9ac1f7fcca820b27e
clk: unlock for handling unregistered clock

If clock is already unregistered, it returns with holding lock.
It needs to be unlocked.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
[sboyd@codeaurora.org: Use goto instead]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c