diff options
author | Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> | 2024-02-19 18:47:41 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-25 14:42:12 +0300 |
commit | daec424cc57b33a28f8621eb7ac85f8bd327bd6b (patch) | |
tree | a4076dc6b232cd775ab96626b275215fbc2ddbd4 /drivers/fpga/xilinx-selectmap.c | |
parent | a9dd9ba323114f366eb07f1d9630822f8df6cbb2 (diff) | |
download | linux-daec424cc57b33a28f8621eb7ac85f8bd327bd6b.tar.xz |
iio: imu: inv_mpu6050: fix frequency setting when chip is off
Track correctly FIFO state and apply ODR change before starting
the chip. Without the fix, you cannot change ODR more than 1 time
when data buffering is off. This restriction on a single pending ODR
change should only apply when the FIFO is on.
Fixes: 111e1abd0045 ("iio: imu: inv_mpu6050: use the common inv_sensors timestamp module")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240219154741.90601-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions