summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-05-11 16:37:09 +0200
committerWolfram Sang <wsa+renesas@sang-engineering.com>2026-05-30 23:57:19 +0200
commit158efa411c57111d87bf265a3776614f32d70007 (patch)
tree7cd14ff4293bb4ba1c388ca986e1b67a6357ce80 /scripts/Makefile.thinlto
parent2295d2bb101faa663fbc45fadbb3fec45f107441 (diff)
i2c: core: fix adapter probe deferral loop
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@vger.kernel.org # 5.9 Cc: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions