commit | 37a672be3ae357a0f87fbc00897fa7fcb3d7d782 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Wed Sep 27 15:38:36 2023 +0300 |
committer | Wolfram Sang <wsa@kernel.org> | Wed Sep 27 21:54:25 2023 +0200 |
tree | 9ed715a05c3815e56f4ed4577270efd724fde4ee | |
parent | 470a662688563d8f5e0fb164930d6f5507a883e4 [diff] |
i2c: rcar: fix error code in probe() Return an error code if devm_reset_control_get_exclusive() fails. The current code returns success. Fixes: 0e864b552b23 ("i2c: rcar: reset controller is mandatory for Gen3+") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@kernel.org>