diff options
author | Lorenzo Bianconi | 2019-11-28 17:42:30 +0200 |
---|---|---|
committer | Jonathan Cameron | 2019-12-08 18:10:30 +0000 |
commit | c2686eb2aed322c642b5a291d5b9d67fe4301d4a (patch) | |
tree | 7d2bc606473667064f8d5f5e1b6a4e8e211ed969 /drivers/iio/adc | |
parent | 5685b145c138b2ca696076106d0fb87b7b90b14a (diff) |
iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask
Track hw FIFO state introducing fifo_mask since now the accel sensor
can be enabled during suspend/resume in order to trigger the wake-up
enabling the FIFO in st_lsm6dsx_resume even if it was disabled before
the suspend. Hence we must separately track the fifo state.
Fixes: 4c997dfa692d ("iio: imu: st_lsm6dsx: add wakeup-source option")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions