Skip to content
Commit 97ccd4af authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Wolfram Sang
Browse files

i2c: ocores: add missed clk_disable_unprepare() on failure paths



clk_disable_unprepare() is missed on failure paths in ocores_i2c_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: default avatarPeter Korsgaard <peter@korsgaard.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4d01d880
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