diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-29 16:31:17 +0000 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-11-18 01:48:01 +0100 |
commit | 68d85d0e03eab60c238ebe673c7cea1cf70275d4 (patch) | |
tree | ce027ec34ba4625e886874debbf559847e08612d /drivers/i2c/i2c-stub.c | |
parent | 93d710a65ef02fb7fd48ae207e78f460bd7a6089 (diff) | |
download | linux-rt-68d85d0e03eab60c238ebe673c7cea1cf70275d4.tar.gz |
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>
Diffstat (limited to 'drivers/i2c/i2c-stub.c')
0 files changed, 0 insertions, 0 deletions