Skip to content
Commit 5692900b authored by Yang Yingliang's avatar Yang Yingliang Committed by Wolfram Sang
Browse files

i2c: meson: fix missing clk_disable_unprepare() on error in meson_i2c_probe()

Fix the missing clk_disable_unprepare() before return
from meson_i2c_probe() in the error handling case.

Fixes: a57f9b4d

 ("i2c: meson: Use 50% duty cycle for I2C clock")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 32d45361
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