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:
Ulf Hansson <ulf.hansson@linaro.org>
Loading
Please sign in to comment