Skip to content
Commit 23a698fe authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by Wolfram Sang
Browse files

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: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 75820314
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment