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

i2c: axxia: disable clks in case of failure in probe



axxia_i2c_probe() does not disable clock in case of failure
in i2c_add_adapter(). Also it ignores returned value from
clk_prepare_enable().

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

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 70121f7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment