Re: [PATCH v2] extcon: ptn5150: handle pending IRQ events during system resume

From: Chanwoo Choi

Date: Sun Nov 23 2025 - 10:32:56 EST


25. 11. 15. 11:59에 Xu Yang 이(가) 쓴 글:
> When the system is suspended and ptn5150 wakeup interrupt is disabled,
> any changes on ptn5150 will only be record in interrupt status
> registers and won't fire an IRQ since its trigger type is falling
> edge. So the HW interrupt line will keep at low state and any further
> changes won't trigger IRQ anymore. To fix it, this will schedule a
> work to check whether any IRQ are pending and handle it accordingly.
>
> Fixes: 4ed754de2d66 ("extcon: Add support for ptn5150 extcon driver")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> Signed-off-by: Xu Yang <xu.yang_2@xxxxxxx>
>
> ---
> Changes in v2:
> - make dev_pm_ops static
> - add Rb/Ab tag
> - add Fixes tag
> ---
> drivers/extcon/extcon-ptn5150.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)

Applied it. Thanks.

--
Best Regards,
Samsung Electronics
Chanwoo Choi