mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: Felix Gu <ustc.gu@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: fp9931: Fix PM runtime reference leak in fp9931_hwmon_read()
Date: Tue, 24 Feb 2026 12:20:46 +0100	[thread overview]
Message-ID: <20260224122046.5bb1d960@kemnade.info> (raw)
In-Reply-To: <20260224-fp9931-v1-1-1cf05cabef4a@gmail.com>

On Tue, 24 Feb 2026 18:07:59 +0800
Felix Gu <ustc.gu@gmail.com> wrote:

> In fp9931_hwmon_read(), if regmap_read() failed, the function returned
> the error code without calling pm_runtime_put_autosuspend(), causing
> a PM reference leak.
> 
> Fixes: 12d821bd13d4 ("regulator: Add FP9931/JD9930 driver")
> Signed-off-by: Felix Gu <ustc.gu@gmail.com>

Reviewed-by: Andreas Kemnade <andreas@kemnade.info>

  reply	other threads:[~2026-02-24 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24 10:07 Felix Gu
2026-02-24 11:20 ` Andreas Kemnade [this message]
2026-02-26 12:27 ` Mark Brown

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=20260224122046.5bb1d960@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ustc.gu@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®