[0/1] adis16475.c: Remove scan index from delta channels

Message ID 20231012122456.765709-1-ramona.gradinariu@analog.com
Headers
Series adis16475.c: Remove scan index from delta channels |

Message

Ramona Gradinariu Oct. 12, 2023, 12:24 p.m. UTC
  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.
This is a fix for the bug which was introduced with
8f6bc87d67c0 ("iio: imu: adis16475.c: Add delta angle and delta velocity channels").

Ramona Gradinariu (1):
  drivers: imu: adis16475.c: Remove scan index from delta channels

 drivers/iio/imu/adis16475.c | 67 +++++++++++++++++++++++++------------
 1 file changed, 46 insertions(+), 21 deletions(-)

--
2.34.1