Re: [PATCH v2 12/13] iio: imu: inv_mpu6050: use runtime pm with autosuspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



19.02.2020 17:39, Jean-Baptiste Maneyrol пишет:
> Use runtime power management for handling chip power and
> sensor engines on/off. Simplifies things a lot since pm
> runtime already has reference counter.
> Usage of autosuspend reduces the number of power on/off. This
> makes polling interface now usable to get data at low
> frequency.
> 
> Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@xxxxxxxxxxxxxx>
> ---
>  drivers/iio/imu/inv_mpu6050/inv_mpu_core.c    | 267 ++++++++++++------
>  drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h     |   5 +-
>  drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c |  33 ++-
>  3 files changed, 194 insertions(+), 111 deletions(-)

Hello,

This patch introduces a system suspend-resume regressing, I'm seeing the
following on entering into suspend:

 vdd_gen1v8: Underflow of regulator enable count
 inv-mpu6050-i2c 1-0068: Failed to disable vddio regulator: -22

Apparently RPM disables the regulator and then it's erroneously disabled
second time on suspend. Please fix it, thanks in advance.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux