diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2018-04-17 10:19:39 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-04-21 18:02:42 +0300 |
commit | 7fc01685401a9abfa5d846131fdc3c34b96a0de9 (patch) | |
tree | 550906c6f7dc6fb7affe1c581e753b6da1c8776e /arch/powerpc/perf | |
parent | 918f958987e979813f7c6a75f0aac13167aebab9 (diff) | |
download | linux-7fc01685401a9abfa5d846131fdc3c34b96a0de9.tar.xz |
iio: imu: inv_mpu6050: clean set_power_itg and fix usage
Rewrite set_power_itg. Failing when turning power off is
no more decreasing the counter now and sleeping only happens
when effectively turning the chip on. Fix also usage in init
function (setting power on one time is sufficient to ensure
chip is effectively on).
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions