]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: imu: inv_icm42600: enable temp polling when buffer is on
authorJean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Thu, 18 Dec 2025 09:21:17 +0000 (10:21 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 21 Dec 2025 18:42:12 +0000 (18:42 +0000)
commite23f687c0d81802b54b25c95f23e299ddf0ba28e
tree87704957a5411aa75fe28d1a5f9258e465a324b1
parent676cc11b70221671b7257c90064ada4192d7baed
iio: imu: inv_icm42600: enable temp polling when buffer is on

Delete iio_device_claim_direct_mode() when reading temperature.
It enables polling of temperature data while buffer is on and it
doesn't have any impact on the other sensors.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c