mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Xu Yang <xu.yang_2@nxp.com>,
	myungjoo.ham@samsung.com, cw00.choi@samsung.com
Cc: linux-kernel@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH] extcon: ptn5150: handle pending IRQ events during system resume
Date: Fri, 14 Nov 2025 09:08:24 +0100	[thread overview]
Message-ID: <21309a6f-4bf8-4567-a439-a3183713f17a@kernel.org> (raw)
In-Reply-To: <20251114074212.1214255-1-xu.yang_2@nxp.com>

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@linaro.org>

Best regards,
Krzysztof

  reply	other threads:[~2025-11-14  8:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14  7:42 Xu Yang
2025-11-14  8:08 ` Krzysztof Kozlowski [this message]
2025-11-15  2:30   ` Xu Yang
2025-11-14 11:54 ` Fabio Estevam
2025-11-15  2:31   ` Xu Yang
     [not found] ` <CGME20251114074150epcas1p31037ab8f07810cbb5cc677bfc0cce01d@epcms1p5>
2025-11-15  1:01   ` MyungJoo Ham
2025-11-15  2:35     ` Xu Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21309a6f-4bf8-4567-a439-a3183713f17a@kernel.org \
    --to=krzk@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=imx@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=xu.yang_2@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®