This patchset fixes problem with inv_mpu6050 driver,
when it fails after device is suspended by runtime pm during a probe.
To simplify runtime pm handling in the driver more devm-helpers are used.
Andrey Skvortsov (3):
iio: imu: inv_mpu6050: use devres-enabled version of pm_runtime_enable
iio: imu: inv_mpu6050: control vdd supply using devm-helpers
iio: imu: inv_mpu6050: fix unbalanced regulator_disable calls, when
probe fails
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 52 ++++++++--------------
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 1 -
2 files changed, 18 insertions(+), 35 deletions(-)
Changes in v2:
- minimize call trace in commit message
- use runtime pm framework to track vddio regulator state
- include specific driver name in patch subject
- add more patches to use device managed functions
--
2.51.0