summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2025-10-17 19:42:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-10-19 13:59:23 +0300
commitc6d702f2b77194b62fb2098c63bb7f2a87da142d (patch)
tree8dabd73bd7b1ed23bc5072faf073dbbaf9f720e5
parent003930040784b30902870a945ed9503f9cdc2327 (diff)
downloadlinux-c6d702f2b77194b62fb2098c63bb7f2a87da142d.tar.xz
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>
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
index c225b246c8a5..bd366c6e282a 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
@@ -365,7 +365,7 @@ enum st_lsm6dsx_fifo_mode {
* @id: Sensor identifier.
* @hw: Pointer to instance of struct st_lsm6dsx_hw.
* @gain: Configured sensor sensitivity.
- * @odr: Output data rate of the sensor [Hz].
+ * @odr: Output data rate of the sensor [mHz].
* @samples_to_discard: Number of samples to discard for filters settling time.
* @watermark: Sensor watermark level.
* @decimator: Sensor decimation factor.