summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf
diff options
context:
space:
mode:
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>2018-04-17 10:19:39 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-21 18:02:42 +0300
commit7fc01685401a9abfa5d846131fdc3c34b96a0de9 (patch)
tree550906c6f7dc6fb7affe1c581e753b6da1c8776e /arch/powerpc/perf
parent918f958987e979813f7c6a75f0aac13167aebab9 (diff)
downloadlinux-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