diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2020-02-19 15:39:57 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:39 +0000 |
commit | 4599cac8461468a10dc375f4d4e12442e2d16d3f (patch) | |
tree | e557b46207baa80b2820693b6f8e418f5f6bf014 /drivers/iio/dummy | |
parent | 5e95ca3637d6f706d157a5f12e51f3e1c175285a (diff) | |
download | linux-4599cac8461468a10dc375f4d4e12442e2d16d3f.tar.bz2 |
iio: imu: inv_mpu6050: use runtime pm with autosuspend
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@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dummy')
0 files changed, 0 insertions, 0 deletions