[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33elsbnw6zjpq35scsrngtjkmv6cj7lnalk2tfc5pzivm7ac5y@u662rtextfsy>
Date: Sat, 15 Nov 2025 10:30:35 +0800
From: Xu Yang <xu.yang_2@....com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: myungjoo.ham@...sung.com, cw00.choi@...sung.com,
linux-kernel@...r.kernel.org, imx@...ts.linux.dev
Subject: Re: [PATCH] extcon: ptn5150: handle pending IRQ events during system
resume
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@...aro.org>
Thanks,
Xu Yang
>
> Best regards,
> Krzysztof
Powered by blists - more mailing lists