Lorenzo Bianconi c2686eb2ae 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>
2019-12-08 18:10:30 +00:00
..
2019-11-01 09:30:48 -07:00
2019-10-23 06:26:33 -04:00
2019-09-19 14:14:28 -07:00
2019-09-18 11:14:31 -07:00
2019-09-22 12:02:21 -07:00
2019-11-11 06:23:37 +01:00
2019-08-27 09:43:59 +02:00
2019-10-25 14:25:15 +02:00
2019-10-18 22:29:36 -04:00
2019-11-06 21:48:29 -08:00
2019-09-23 17:20:40 -04:00
2019-09-29 10:33:41 -07:00
2019-11-08 18:15:55 -08:00
2019-10-15 23:51:36 +02:00
2019-09-23 19:16:01 -07:00
2019-11-11 06:23:37 +01:00
2019-10-23 15:31:17 -04:00
2019-09-22 10:55:08 -07:00
2019-09-22 11:05:43 -07:00
2019-10-22 17:55:51 +02:00
2019-11-02 11:15:52 -07:00
2019-10-26 19:47:31 +08:00
2019-09-17 18:40:42 -07:00
2019-11-02 11:15:52 -07:00
2019-09-18 11:14:31 -07:00
2019-10-15 14:07:01 -06:00
2019-09-18 11:05:34 -07:00