linux/drivers/iio/imu
Jean-Baptiste Maneyrol dfdc31e7cc iio: imu: inv_icm42600: change invalid data error to -EBUSY
Temperature sensor returns the temperature of the mechanical parts
of the chip. If both accel and gyro are off, the temperature sensor is
also automatically turned off and returns invalid data.

In this case, returning -EBUSY error code is better then -EINVAL and
indicates userspace that it needs to retry reading temperature in
another context.

Fixes: bc3eb0207f ("iio: imu: inv_icm42600: add temperature sensor support")
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Cc: stable@vger.kernel.org
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
Link: https://patch.msgid.link/20250808-inv-icm42600-change-temperature-error-code-v1-1-986fbf63b77d@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-08-11 21:35:01 +01:00
..
bmi160 iio: imu: bmi160: make bmi160_regs const 2025-07-06 10:37:53 +01:00
bmi270 iio: imu: bmi270: add step counter watermark event 2025-07-06 10:37:51 +01:00
bmi323 iio: imu: bmi323: Stop using iio_device_claim_direct_scoped() 2025-02-17 13:03:47 +00:00
bno055 Driver core changes for 6.17-rc1 2025-07-29 12:15:39 -07:00
inv_icm42600 iio: imu: inv_icm42600: change invalid data error to -EBUSY 2025-08-11 21:35:01 +01:00
inv_mpu6050 iio: imu: inv_mpu6050: Replace scnprintf with sysfs_emit 2025-07-13 15:36:24 +01:00
st_lsm6dsx IIO: New device support, features and cleanup for 6.16 - take 2 2025-05-22 15:54:52 +02:00
st_lsm9ds0 iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Kconfig iio: imu: adis16550: add adis16550 support 2025-03-04 13:17:24 +00:00
Makefile iio: imu: adis16550: add adis16550 support 2025-03-04 13:17:24 +00:00
adis.c iio: imu: adis: remove bits_per_word = 8 2025-05-21 14:20:31 +01:00
adis16400.c iio: imu: adis16400: Use separate structures rather than an array for chip info 2025-07-13 15:36:24 +01:00
adis16460.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adis16475.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adis16480.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adis16550.c iio: imu: adis16550: align buffers for timestamp 2025-04-21 11:51:35 +01:00
adis_buffer.c iio: imu: adis: remove bits_per_word = 8 2025-05-21 14:20:31 +01:00
adis_trigger.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
fxos8700.h
fxos8700_core.c iio: imu: fxos8700: Drop unused acpi.h 2024-09-30 09:20:59 +01:00
fxos8700_i2c.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
fxos8700_spi.c
kmx61.c iio: Remove single use of macro definition for IRQ name 2025-06-09 07:45:36 +01:00
smi240.c iio: imu: smi240: Switch to sparse friendly iio_device_claim/release_direct() 2025-04-22 19:09:59 +01:00