acrn-kernel/drivers/iio
Jean-Baptiste Maneyrol bbaae0c79e iio: imu: inv_icm42600: fix timestamp reset
Timestamp reset is not done in the correct place. It must be done
before enabling buffer. The reason is that interrupt timestamping
is always happening when the chip is on, even if the
corresponding sensor is off. When the sensor restarts, timestamp
is wrong if you don't do a reset first.

Fixes: ec74ae9fd3 ("iio: imu: inv_icm42600: add accurate timestamping")
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230509152202.245444-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-05-20 17:33:14 +01:00
..
accel iio: accel: kx022a fix irq getting 2023-05-13 19:45:08 +01:00
adc iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag 2023-05-20 16:34:52 +01:00
addac iio: addac: ad74413: fix resistance input processing 2023-05-13 17:54:58 +01:00
afe
amplifiers
buffer
cdc drivers: iio: cdc: Drop redundant if check 2023-01-08 12:59:44 +00:00
chemical iio: chemical: sps030: Reformat comment in a more readable way 2023-03-11 12:18:27 +00:00
common iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
dac iio: dac: mcp4725: Fix i2c_master_send() return value handling 2023-05-13 19:46:59 +01:00
dummy
filter
frequency iio: frequency: admv1013: Benefit from devm_clk_get_enabled() to simplify 2023-03-18 16:35:26 +00:00
gyro iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
health
humidity iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
imu iio: imu: inv_icm42600: fix timestamp reset 2023-05-20 17:33:14 +01:00
light iio: bu27034: Ensure reset is written 2023-05-13 19:22:01 +01:00
magnetometer iio: tmag5273: Fix runtime PM leak on measurement error 2023-05-13 17:54:56 +01:00
multiplexer
orientation
position
potentiometer
potentiostat iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
pressure iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
proximity iio: proximity: sx9500: Reference ACPI and OF ID data 2023-03-12 16:18:41 +00:00
resolver
temperature iio: temperature: tmp117: cosmetic alignment cleanup 2023-03-11 12:18:29 +00:00
test
trigger iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
Kconfig iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
Makefile iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
TODO
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: make sure O_NONBLOCK is respected 2023-02-18 14:07:58 +00:00
industrialio-configfs.c
industrialio-core.c iio: core: Sort headers 2023-01-21 17:35:23 +00:00
industrialio-event.c
industrialio-gts-helper.c iio: gts-helpers: fix integration time units 2023-05-13 17:54:57 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
industrialio-triggered-event.c
inkern.c