[PATCH 0/1] extcon: ptn5150: Request IRQ after device init

From: Stewart Hore

Date: Tue Jun 09 2026 - 20:48:43 EST


The ptn5150 probe requests its threaded INTB IRQ before the extcon
device is allocated/registered and before ptn5150_init_dev_type() has
run. If the INTB line is already asserted (e.g. a cable was attached
before probe, or across a warm reboot), the handler can fire and the
work item can run against a half-initialised device.

This patch moves the IRQ request to after device initialisation and
registration are complete, so the handler only runs once the driver is
ready to service it.

Verified with a reboot-cycle stress test on an i.MX (6.8.0-imx) target.

Stewart Hore (1):
extcon: ptn5150: Request IRQ after device init

drivers/extcon/extcon-ptn5150.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

--
2.54.0