linux/drivers/iio/imu
Paul Cercueil 9e5b4cd2e9 iio: imu: st_lsm6dsx: Limit requested watermark value to hwfifo size
Instead of returning an error if the watermark value is too high, which
the core will silently ignore anyway, limit the value to the hardware
FIFO size; a lower-than-requested value is still better than using the
default, which is usually 1.

Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/20220117102512.31725-1-paul@crapouillou.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-15 22:07:09 +01:00
..
bmi160 First set of IIO new device support, features and cleanup for 5.19 2022-05-19 16:53:08 +02:00
inv_icm42600 iio: imu: inv_icm42600: Fix alignment for DMA safety in buffer code. 2022-06-14 11:53:18 +01:00
inv_mpu6050 iio: imu: mpu6050: Fix alignment for DMA safety 2022-06-14 11:53:18 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: Limit requested watermark value to hwfifo size 2022-06-15 22:07:09 +01:00
st_lsm9ds0 iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
adis.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16400.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16460.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16475.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis16480.c iio: imu: adis16480: Improve getting the optional clocks 2022-04-28 19:22:56 +01:00
adis_buffer.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adis_trigger.c iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: imu: fxos8700: Fix alignment for DMA safety 2022-06-14 11:53:18 +01:00
fxos8700_i2c.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
fxos8700_spi.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
Kconfig iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00
kmx61.c First set of new device support, fixes, cleanups and features for IIO in 5.18 2022-03-18 12:41:32 +01:00
Makefile iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00