diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-11-29 11:37:24 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-08 18:10:30 +0000 |
commit | bd41c445b7b96e46efb799ff33bdf870479488cf (patch) | |
tree | 398bb6487127d469f641610a30e1fa6de4219a75 /drivers/iio/adc | |
parent | c2686eb2aed322c642b5a291d5b9d67fe4301d4a (diff) | |
download | blackbird-op-linux-bd41c445b7b96e46efb799ff33bdf870479488cf.tar.gz blackbird-op-linux-bd41c445b7b96e46efb799ff33bdf870479488cf.zip |
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