commit | 23a698fe65eca15fbdf925e8d70c5bf20ebf989e | [log] [tgz] |
---|---|---|
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | Tue Aug 04 12:59:25 2020 +0300 |
committer | Wolfram Sang <wsa@kernel.org> | Wed Aug 05 11:52:27 2020 +0200 |
tree | 0eb69ee3b87c44a3bd14c6db2057a94c31b2aa81 | |
parent | 75820314de26b00aaea0d0e79269c0d17914c5c4 [diff] |
i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs Even if I2C bus GPIO recovery is optional, devm_gpiod_get() can return -EPROBE_DEFER, so we should at least treat that. This ends up with i2c_register_adapter() to be able to return -EPROBE_DEFER. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>