aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorLorenzo Bianconi2019-11-29 11:37:24 +0200
committerJonathan Cameron2019-12-08 18:10:30 +0000
commitbd41c445b7b96e46efb799ff33bdf870479488cf (patch)
tree398bb6487127d469f641610a30e1fa6de4219a75 /drivers/iio/adc
parentc2686eb2aed322c642b5a291d5b9d67fe4301d4a (diff)
iio: imu: st_lsm6dsx: do not power-off accel if events are enabled
Do not power-off accel unconditionally if wake-up events are enabled powering off the hw FIFO. At the same time do not power-off the accel sensor if it is 'batched' in the hw FIFO disabling sensor events Fixes: b5969abfa8b8 ("iio: imu: st_lsm6dsx: add motion events") Tested-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions