commit | 68d85d0e03eab60c238ebe673c7cea1cf70275d4 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sat Oct 29 16:31:17 2016 +0000 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Nov 18 01:48:01 2016 +0100 |
tree | ce027ec34ba4625e886874debbf559847e08612d | |
parent | 93d710a65ef02fb7fd48ae207e78f460bd7a6089 [diff] |
i2c: digicolor: use clk_disable_unprepare instead of clk_unprepare since clk_prepare_enable() is used to get i2c->clk, we should use clk_disable_unprepare() to release it for the error path. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>