[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250709-icm42pmreg-v1-0-3d0e793c99b2@geanix.com>
Date: Wed, 09 Jul 2025 14:35:08 +0200
From: Sean Nyekjaer <sean@...nix.com>
To: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@....com>,
Jonathan Cameron <jic23@...nel.org>, David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Nyekjaer <sean@...nix.com>
Subject: [PATCH 0/6] iio: imu: inv_icm42600: pm_runtime fixes + various
changes
This series was triggered by "Runtime PM usage count underflow!" when
unloading the module(s).
By testing the driver in various use cases and reading code it was
obvious that it could need some tiding up.
I'm still not 100% satisfied with suspend/resume is calling directly to
vddio_enable/disable. In my mind it should be managed by pm_runtime.
Signed-off-by: Sean Nyekjaer <sean@...nix.com>
---
Sean Nyekjaer (6):
iio: imu: inv_icm42600: Use inv_icm42600_disable_vddio_reg()
iio: imu: inv_icm42600: Use devm_regulator_get_enable() for vdd regulator
iio: imu: inv_icm42600: Remove redundant error msg on regulator_disable()
iio: imu: inv_icm42600: Simplify pm_runtime setup
iio: imu: inv_icm42600: Drop redundant pm_runtime reinitialization in resume
iio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended
drivers/iio/imu/inv_icm42600/inv_icm42600.h | 1 -
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 54 ++++++------------------
2 files changed, 14 insertions(+), 41 deletions(-)
---
base-commit: 3e28fa06444e7031aba0b3552cce332b776fe267
change-id: 20250708-icm42pmreg-24d824d978c4
Best regards,
--
Sean Nyekjaer <sean@...nix.com>
Powered by blists - more mailing lists