summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2026-07-31 19:47:02 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-05 00:03:28 +0100
commit4a56c646e1bd4f22a2dcd65ef3723af957c651a9 (patch)
treecc8c500c32ca5f233edd315bb53e6f499456c6d3 /include/linux/stacktrace.h
parent8756acd30919a3e9f547ea4a1d4b7f7895f4d340 (diff)
iio: imu: st_lsm6dsx: Update enable mask when using sensor fusion
The enable_mask struct member keeps track of which sensors are enabled in the IMU. When enabling and disabling the sensor fusion functionality, the driver does not properly update this struct member. This prevents a correct calculation of the number of samples that should be read from the hardware FIFO; as a result, reads from the FIFO can be unnecessarily split into multiple transactions, some of which can read past the FIFO length. Fixes: cd4e1141bff8 ("iio: imu: st_lsm6dsx: Add support for rotation sensor") Signed-off-by: Francesco Lavra <flavra@baylibre.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions