]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: imu: st_lsm6dsx: Fix measurement unit for odr struct member
authorFrancesco Lavra <flavra@baylibre.com>
Fri, 17 Oct 2025 16:42:54 +0000 (18:42 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:23 +0000 (11:59 +0100)
commitc6d702f2b77194b62fb2098c63bb7f2a87da142d
tree8dabd73bd7b1ed23bc5072faf073dbbaf9f720e5
parent003930040784b30902870a945ed9503f9cdc2327
iio: imu: st_lsm6dsx: Fix measurement unit for odr struct member

The `odr` field in struct st_lsm6dsx_sensor contains a data rate
value expressed in mHz, not in Hz.

Fixes: f8710f0357bc3 ("iio: imu: st_lsm6dsx: express odr in mHZ")
Signed-off-by: Francesco Lavra <flavra@baylibre.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h