Skip to content
Commit 68d85d0e authored by Wei Yongjun's avatar Wei Yongjun Committed by Wolfram Sang
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 93d710a6
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