mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Xiangwu Lai <laixiangwu@cmss.chinamobile.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	andy@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com
Subject: Re: [PATCH v3 0/2] iio: gyro: mpu3050: Fix runtime PM refcount leak in trigger enable path
Date: Wed, 4 Nov 2026 01:49:40 +0000	[thread overview]
Message-ID: <20261104014940.565b8fb0@jic23-hlaptop> (raw)
In-Reply-To: <20261103092002.1332-1-laixiangwu@cmss.chinamobile.com>

On Tue,  3 Nov 2026 17:20:00 +0800
Xiangwu Lai <laixiangwu@cmss.chinamobile.com> wrote:

> From: laixiangwu <laixiangwu@cmss.chinamobile.com>
> 
> Hi Jonathan,
> 
> This is a repost of the v2 series as a new top-level thread, as
> requested. There are no code changes since v2.
> 
> For context, this series fixes a runtime PM refcount leak in the
> mpu3050 data ready trigger enable path: patch 1 splits the enable
> and disable paths out of mpu3050_drdy_trigger_set_state() into
> separate helpers, and patch 2 applies the fix on top, using
> pm_runtime_resume_and_get() instead of pm_runtime_get_sync(), which
> also keeps the usage counter balanced when the resume fails.
> 
> Changes in v3:
> - no code changes, the series is reposted as a new top-level thread
>   (v2 was mistakenly sent as a reply to the review comments).
Future reference. Don't do that unless specifically asked to do
so. Obviously you should never be in that position again, so this
is mostly for anyone else who sees your patch!

Thanks,

Jonathan


      parent reply	other threads:[~2026-11-04  1:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03  9:20 Xiangwu Lai
2026-11-03  9:20 ` [PATCH v3 1/2] iio: gyro: mpu3050: Split data ready trigger enable/disable into helpers Xiangwu Lai
2026-11-04  1:59   ` Jonathan Cameron
2026-11-03  9:20 ` [PATCH v3 2/2] iio: gyro: mpu3050: Fix runtime PM refcount leak in trigger enable path Xiangwu Lai
2026-11-04  2:01   ` Jonathan Cameron
2026-11-04  1:49 ` Jonathan Cameron [this message]

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=20261104014940.565b8fb0@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=laixiangwu@cmss.chinamobile.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.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®