Commit 5ac79ec8 authored by Ulf Hansson's avatar Ulf Hansson Committed by Guodong Xu
Browse files

i2c: designware: Gate the clock in the error path in ->probe()



When i2c_dw_probe() fails, we may ungated the clock. Let's make sure to
ungate it before returning the error code.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7dcc1782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment