i2c: wmt: add missing clk_disable_unprepare() on error
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 14:23:50 +0000 (22:23 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 14 Nov 2013 17:57:32 +0000 (18:57 +0100)
Add the missing clk_disable_unprepare() before return
from wmt_i2c_reset_hardware() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org # 3.11+

No differences found