From: Mark Brown <broonie@kernel.org>
To: Frank Li <Frank.li@oss.nxp.com>
Cc: Wentao Liang <vulab@iscas.ac.cn>,
haibo.chen@nxp.com, han.xu@nxp.com, imx@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org,
yogeshgaur.83@gmail.com, stable@vger.kernel.org
Subject: Re: [PATCH] spi: nxp-fspi: Fix runtime PM leak in nxp_fspi_probe()
Date: Thu, 17 Sep 2026 20:26:26 +0100 [thread overview]
Message-ID: <a06cbf19-7b6f-449e-afc6-b9cd71c35d42@sirena.org.uk> (raw)
In-Reply-To: <aqwzyjKASxfxtxTT@SMW015318>
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
On Thu, Sep 17, 2026 at 01:39:06PM -0500, Frank Li wrote:
> On Thu, Sep 17, 2026 at 03:37:13PM +0000, Wentao Liang wrote:
> > pm_runtime_get_sync() increments the runtime PM usage counter even when
> > it fails. If it returns an error, nxp_fspi_probe() returns without
> > dropping that reference, so the counter stays unbalanced.
> use pm_runtime_resume_and_get()
This also doesn't apply against current code, please check that when you
resend.
Please delete unneeded context from mails when replying. Doing this
makes it much easier to find your reply in the message, helping ensure
it won't be missed by people scrolling through the irrelevant quoted
material.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-09-17 19:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 15:37 Wentao Liang
2026-09-17 18:39 ` Frank Li
2026-09-17 19:26 ` Mark Brown [this message]
2026-11-07 16:18 ` Wentao Liang
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=a06cbf19-7b6f-449e-afc6-b9cd71c35d42@sirena.org.uk \
--to=broonie@kernel.org \
--cc=Frank.li@oss.nxp.com \
--cc=haibo.chen@nxp.com \
--cc=han.xu@nxp.com \
--cc=imx@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=vulab@iscas.ac.cn \
--cc=yogeshgaur.83@gmail.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®