On 28/11/2019 20.18, Lorenzo Bianconi wrote:
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") Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
Tested-by: Sean Nyekjaer <sean@xxxxxxxxxx>
--- This patch is based on https://patchwork.kernel.org/patch/11266301/ @Sean: could you please run some tests in your environment?
Hi, Works as expected in our environment. :) /Sean