iio: Fix runtime PM leaks across multiple drivers
Status from this message: Applied to the fixes-togreg branch of iio.git and marked for stable.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iio: accel: kxsd9: fix runtime PM imbalance on write_raw() errordrivers/ | +3 | 1 reply | |
| 2/4 | iio: gyro: mpu3050: fix runtime PM leak when enabling trigger failsdrivers/ | +11 | 5 replies | |
| 3/4 | iio: pressure: mpl115: fix runtime PM leak on read errordrivers/ | +2 | 1 reply | |
| 4/4 | iio: light: gp2ap002: fix runtime PM leak on read errordrivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] iio: Fix runtime PM leaks across multiple drivers
Hi Jonathan,
While auditing the IIO subsystem, I noticed a recurring pattern in several drivers where early returns or error paths fail to drop their pm_runtime_get_sync() references. This permanently leaves the device active and prevents autosuspension.
This series provides four independent fixes for these imbalances across the kxsd9, mpu3050, mpl115, and gp2ap002 drivers.
Because these drivers are independent, these patches do not depend on each other and can be merged individually.
Best regards,
Biren Pandya
drivers/iio/accel/kxsd9.c | 5 +++-- drivers/iio/gyro/mpu3050-core.c | 16 +++++++++++----- drivers/iio/light/gp2ap002.c | 2 +- drivers/iio/pressure/mpl115.c | 4 ++-- 4 files changed, 17 insertions(+), 10 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)