aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJean-Baptiste Maneyrol <[email protected]>2025-08-08 07:40:10 +0000
committerJonathan Cameron <[email protected]>2025-08-11 20:35:01 +0000
commitdfdc31e7ccf3ac1d5ec01d5120c71e14745e3dd8 (patch)
tree352678fb3244b4449187d437ff4727002696fa65 /fs/btrfs/dev-replace.c
parentiio: adc: ad7124: fix channel lookup in syscalib functions (diff)
downloadkernel-dfdc31e7ccf3ac1d5ec01d5120c71e14745e3dd8.tar.gz
kernel-dfdc31e7ccf3ac1d5ec01d5120c71e14745e3dd8.zip
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: bc3eb0207fb5 ("iio: imu: inv_icm42600: add temperature sensor support") Signed-off-by: Jean-Baptiste Maneyrol <[email protected]> Cc: [email protected] Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Sean Nyekjaer <[email protected]> Link: https://patch.msgid.link/20250808-inv-icm42600-change-temperature-error-code-v1-1-986fbf63b77d@tdk.com Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions