diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2020-08-04 12:59:25 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-08-05 11:52:27 +0200 |
commit | 23a698fe65eca15fbdf925e8d70c5bf20ebf989e (patch) | |
tree | 0eb69ee3b87c44a3bd14c6db2057a94c31b2aa81 /net/atm/common.h | |
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>
Diffstat (limited to 'net/atm/common.h')
0 files changed, 0 insertions, 0 deletions