linux/drivers/iio/imu/st_lsm6dsx
Lorenzo Bianconi bd41c445b7 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: b5969abfa8 ("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>
2019-12-08 18:10:30 +00:00
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSRX 2019-10-27 16:38:06 +00:00
Makefile iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR 2019-07-27 22:55:27 +01:00
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask 2019-12-08 18:10:30 +00:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: do not power-off accel if events are enabled 2019-12-08 18:10:30 +00:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to LSM6DSRX 2019-10-27 16:38:06 +00:00
st_lsm6dsx_i3c.c iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR 2019-07-27 22:55:27 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: express odr in mHZ 2019-11-09 13:23:17 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to LSM6DSRX 2019-10-27 16:38:06 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask 2019-12-08 18:10:30 +00:00