iio: imu: st_lsm6dsx: fix FIFO_CTRL2 overwrite during watermark configuration
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 14 Mar 2017 21:05:20 +0000 (22:05 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Mar 2017 10:44:42 +0000 (10:44 +0000)
commit6985bd5e21901c2d2bfc924b114887e20c002901
treefbdbef597d9bd4c931b68a413fd18501af57816b
parente83bb3e6f3efa21f4a9d883a25d0ecd9dfb431e1
iio: imu: st_lsm6dsx: fix FIFO_CTRL2 overwrite during watermark configuration

Fixes: 290a6ce11d93 (iio: imu: add support to lsm6dsx driver)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c