mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 02:33:57 +00:00
ef5f5e7b6f
When multiple ODR switch happens during FIFO off, the change could
not be taken into account if you get back to previous FIFO on value.
For example, if you run sensor buffer at 50Hz, stop, change to
200Hz, then back to 50Hz and restart buffer, data will be timestamped
at 200Hz. This due to testing against mult and not new_mult.
To prevent this, let's just run apply_odr automatically when FIFO is
off. It will also simplify driver code.
Update inv_mpu6050 and inv_icm42600 to delete now useless apply_odr.
Fixes:
|
||
---|---|---|
.. | ||
cros_ec_sensors | ||
hid-sensors | ||
inv_sensors | ||
ms_sensors | ||
scmi_sensors | ||
ssp_sensors | ||
st_sensors | ||
Kconfig | ||
Makefile |