Re: [PATCH v3 04/10] i2c: core: fix adapter probe deferral loop

From: Wolfram Sang

Date: Wed Jun 03 2026 - 05:32:16 EST


On Mon, May 11, 2026 at 04:37:09PM +0200, Johan Hovold wrote:
> Drivers must not probe defer after having registered devices as that
> will trigger a probe loop if the devices bind to a driver (cf. commit
> fbc35b45f9f6 ("Add documentation on meaning of -EPROBE_DEFER")).
>
> Move the recovery initialisation, where the GPIO lookup may fail, before
> registering the adapter to prevent this.
>
> Fixes: 75820314de26 ("i2c: core: add generic I2C GPIO recovery")
> Cc: stable@xxxxxxxxxxxxxxx # 5.9
> Cc: Codrin Ciubotariu <codrin.ciubotariu@xxxxxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature