forked from Minki/linux
9e5b4cd2e9
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
st_lsm6dsx_buffer.c | ||
st_lsm6dsx_core.c | ||
st_lsm6dsx_i2c.c | ||
st_lsm6dsx_i3c.c | ||
st_lsm6dsx_shub.c | ||
st_lsm6dsx_spi.c | ||
st_lsm6dsx.h |