public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: gyro: mpu3050: use pm_runtime_resume_and_get()
@ 2026-02-02 14:56 Antoniu Miclaus
  2026-02-02 14:56 ` [PATCH v2 1/2] iio: gyro: mpu3050-i2c: " Antoniu Miclaus
  2026-02-02 14:56 ` [PATCH v2 2/2] iio: gyro: mpu3050-core: " Antoniu Miclaus
  0 siblings, 2 replies; 6+ messages in thread
From: Antoniu Miclaus @ 2026-02-02 14:56 UTC (permalink / raw)
  To: Linus Walleij, Jonathan Cameron, Lars-Peter Clausen, linux-iio,
	linux-kernel
  Cc: Antoniu Miclaus

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-07 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 14:56 [PATCH v2 0/2] iio: gyro: mpu3050: use pm_runtime_resume_and_get() Antoniu Miclaus
2026-02-02 14:56 ` [PATCH v2 1/2] iio: gyro: mpu3050-i2c: " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox