From: Antoniu Miclaus <antoniu.miclaus@analog.com>
To: Linus Walleij <linus.walleij@linaro.org>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>, <linux-iio@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: Antoniu Miclaus <antoniu.miclaus@analog.com>
Subject: [PATCH v2 0/2] iio: gyro: mpu3050: use pm_runtime_resume_and_get()
Date: Mon, 2 Feb 2026 16:56:25 +0200 [thread overview]
Message-ID: <cover.1770039759.git.antoniu.miclaus@analog.com> (raw)
Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() across
the mpu3050 driver. Unlike pm_runtime_get_sync(), the usage count is
not incremented on error.
Changes in v2:
- Add cover letter
- Reword commit messages
Antoniu Miclaus (2):
iio: gyro: mpu3050-i2c: use pm_runtime_resume_and_get()
iio: gyro: mpu3050-core: use pm_runtime_resume_and_get()
drivers/iio/gyro/mpu3050-core.c | 17 +++++++++++++----
drivers/iio/gyro/mpu3050-i2c.c | 3 +--
2 files changed, 14 insertions(+), 6 deletions(-)
--
2.43.0
next reply other threads:[~2026-02-02 14:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 14:56 Antoniu Miclaus [this message]
2026-02-02 14:56 ` [PATCH v2 1/2] iio: gyro: mpu3050-i2c: use pm_runtime_resume_and_get() Antoniu Miclaus
2026-02-02 14:56 ` [PATCH v2 2/2] iio: gyro: mpu3050-core: " Antoniu Miclaus
2026-02-03 9:45 ` Nuno Sá
2026-02-07 15:49 ` Jonathan Cameron
2026-02-07 21:43 ` Linus Walleij
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=cover.1770039759.git.antoniu.miclaus@analog.com \
--to=antoniu.miclaus@analog.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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