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

From: Krzysztof Kozlowski

Date: Fri Nov 14 2025 - 03:08:27 EST


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:

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

Best regards,
Krzysztof