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

From: Xu Yang

Date: Fri Nov 14 2025 - 21:37:20 EST


On Fri, Nov 14, 2025 at 09:08:24AM +0100, Krzysztof Kozlowski wrote:
> On 14/11/2025 08:42, Xu Yang wrote:
> >
> > +static int ptn5150_resume(struct device *dev)
> > +{
> > + struct i2c_client *i2c = to_i2c_client(dev);
> > + struct ptn5150_info *info = i2c_get_clientdata(i2c);
> > +
> > + /* Need to check possible pending interrupt events */
> > + schedule_work(&info->irq_work);
> > +
> > + return 0;
> > +}
> > +
> > +DEFINE_SIMPLE_DEV_PM_OPS(ptn5150_pm_ops, NULL, ptn5150_resume);
>
> static
>
> With this fixed:

Will do.

>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Thanks,
Xu Yang

>
> Best regards,
> Krzysztof