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 /tools/perf/scripts/python | |
| parent | iio: imu: inv_mpu6050: dynamic sampling rate change (diff) | |
| download | linux-4599cac8461468a10dc375f4d4e12442e2d16d3f.tar.gz linux-4599cac8461468a10dc375f4d4e12442e2d16d3f.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
