diff options
| author | Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> | 2026-08-24 14:30:07 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-31 02:58:31 +0100 |
| commit | b0a08c48debce09d7f585c73a342a488945dcb68 (patch) | |
| tree | 89769982878ada42c342ca74f54fca5707142e73 /scripts/Makefile.thinlto | |
| parent | 783211907c2df6e8a1cce892a67d99c943ef6404 (diff) | |
| download | linux-next-b0a08c48debce09d7f585c73a342a488945dcb68.tar.gz linux-next-b0a08c48debce09d7f585c73a342a488945dcb68.zip | |
iio: imu: inv_icm42600: sleep before enabling FIFO data
When turning accel or gyro on, a sleep is required for letting the
mechanical part stabilize before reporting correct data. Move the
sleep before enabling FIFO data to prevent push of incorrect data.
We need to unlock the driver mutex while sleeping to not block data
of the other sensor if it is running. There is no possible race here
because we are already under IIO mode mutex locked since it is a
IIO buffer callback.
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
