From: Jonathan Cameron <jic23@kernel.org>
To: David Lechner <dlechner@baylibre.com>
Cc: "Sean Nyekjaer" <sean@geanix.com>,
"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
rafael@kernel.org, "Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org,
"Jean-Baptiste Maneyrol" <jmaneyrol@invensense.com>,
"Jonathan Cameron" <Jonathan.Cameron@huawei.com>
Subject: Re: [PATCH v3 4/5] iio: imu: inv_icm42600: Use devm_regulator_get_enable() for vdd regulator
Date: Sun, 7 Sep 2025 14:26:39 +0100 [thread overview]
Message-ID: <20250907142639.489496d4@jic23-huawei> (raw)
In-Reply-To: <e97130f5-9ec6-4ac4-9944-96f992eb215f@baylibre.com>
On Fri, 5 Sep 2025 14:49:05 -0500
David Lechner <dlechner@baylibre.com> wrote:
> On 9/1/25 2:49 AM, Sean Nyekjaer wrote:
> > The vdd regulator is not used for runtime power management, so it does
> > not need explicit enable/disable handling.
> > Use devm_regulator_get_enable() to let the regulator be managed
> > automatically by devm.
> >
> > This simplifies the code by removing the manual enable and cleanup
> > logic.
> >
> > Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> > ---
> Reviewed-by: David Lechner <dlechner@baylibre.com>
>
I've applied 1-4 to the togreg branch of iio.git targetting
the next merge window. I marked the first 3 for stable inclusion.
Given we are fairly late in the cycle, the breakage isn't recent
and you have additional patches on top (4 and 5 here) I didn't
rush these in via my fixes branch. Hope that works for you,
shout if not.
Thanks,
Jonathan
next prev parent reply other threads:[~2025-09-07 13:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 7:49 [PATCH v3 0/5] iio: imu: inv_icm42600: pm_runtime fixes + various changes Sean Nyekjaer
2025-09-01 7:49 ` [PATCH v3 1/5] iio: imu: inv_icm42600: Simplify pm_runtime setup Sean Nyekjaer
2025-09-01 7:49 ` [PATCH v3 2/5] iio: imu: inv_icm42600: Drop redundant pm_runtime reinitialization in resume Sean Nyekjaer
2025-09-01 7:49 ` [PATCH v3 3/5] iio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended Sean Nyekjaer
2025-09-01 7:49 ` [PATCH v3 4/5] iio: imu: inv_icm42600: Use devm_regulator_get_enable() for vdd regulator Sean Nyekjaer
2025-09-05 19:49 ` David Lechner
2025-09-07 13:26 ` Jonathan Cameron [this message]
2025-09-01 7:49 ` [PATCH v3 5/5] iio: imu: inv_icm42600: use guard() to release mutexes Sean Nyekjaer
2025-09-05 19:45 ` David Lechner
2025-09-07 13:20 ` Jonathan Cameron
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=20250907142639.489496d4@jic23-huawei \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jean-baptiste.maneyrol@tdk.com \
--cc=jmaneyrol@invensense.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=rafael@kernel.org \
--cc=sean@geanix.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