Re: [PATCH] iio: imu: inv_icm42600: force accel odr change when switching power mode
From: Jonathan Cameron
Date: Sun Sep 20 2026 - 21:58:46 EST
On Mon, 14 Sep 2026 14:43:42 +0200
Jean-Baptiste Maneyrol via B4 Relay <devnull+jean-baptiste.maneyrol.tdk.com@xxxxxxxxxx> wrote:
> From: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx>
>
> When accel must switch from low-power mode to low-noise due to a change in
> ODR, there is an hardware bug that sometimes prevent the ODR change flag
> to be set in the FIFO header. If this happens, the driver is stuck waiting
> for the ODR change flag that is never happening.
>
> Fix this by using accel_force_odr flag set when switching mode for forcing
> apply of ODR change. Do the apply after parsing FIFO data to let the flag
> do the job if it is here.
>
> Fixes: ec74ae9fd37c ("iio: imu: inv_icm42600: add accurate timestamping")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.
Applied to the testing branch of iio.git.
Most likely any fixes now that don't need to be rushed in will
be queued for the next merge window.
Thanks
Jonathan