summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/hid-sensor-magn-3d.c
diff options
context:
space:
mode:
authorRamona Gradinariu <ramona.gradinariu@analog.com>2023-10-12 15:24:56 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-10-14 19:04:08 +0300
commitba251b20152c3bc6edaa05413090ca5b5f8deb7f (patch)
treedb89ce478fc0095097fbd5914e26afa87e29874f /drivers/iio/magnetometer/hid-sensor-magn-3d.c
parente9d8add6e72b1642bcf895601146c713d068775a (diff)
downloadlinux-ba251b20152c3bc6edaa05413090ca5b5f8deb7f.tar.xz
drivers: imu: adis16475.c: Remove scan index from delta channels
Some devices do not support delta angle and delta velocity burst readings, which means there should be no buffer support for these types of channels. A new list of channels is created which contains the delta channels structures with the scan index equal to -1 to allow for raw register readings, without buffer support. This list of channels is assigned to the devices which do not support delta angle and delta velocity burst readings. Fixes: 8f6bc87d67c0 ("iio: imu: adis16475.c: Add delta angle and delta velocity channels") Signed-off-by: Ramona Gradinariu <ramona.gradinariu@analog.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20231012122456.765709-2-ramona.gradinariu@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer/hid-sensor-magn-3d.c')
0 files changed, 0 insertions, 0 deletions