]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: st_lsm6dsx: Fix FIFO diff mask for tagged fifo
authormario tesi <mario.tesi@st.com>
Thu, 22 Aug 2019 13:22:19 +0000 (15:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Sep 2019 17:55:50 +0000 (18:55 +0100)
commite1987e088a1b28df721ad2ac66ed660c5676cad0
treef8b7b670889525e0f601100084e0a0b4b46e9262
parente5a44f7ca4ecd1b6f95113811f897bf3737d1f1e
iio: imu: st_lsm6dsx: Fix FIFO diff mask for tagged fifo

According to the latest version of datasheet the mask
for number of unread sensor data in FIFO_STATUS registers
has been extended to 10 bits

The devices involved are:
 - LSM6DSO
 - LSM6DSOX
 - ASM330LHH
 - LSM6DSR
 - ISM330DHCX

Signed-off-by: mario tesi <mario.tesi@st.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c