]> asedeno.scripts.mit.edu Git - linux.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)
commit70575abeaaca02f2f3f36abcce4ed33f69398ea0
treef8b7b670889525e0f601100084e0a0b4b46e9262
parent050833f1b15d97c6f190ee3ca77ca94c8f2a6648
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