[PATCH v1 0/4] iio: Fix runtime PM leaks across multiple drivers
From: Biren Pandya
Date: Sun Jun 14 2026 - 03:16:07 EST
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(-)
--
2.50.1 (Apple Git-155)