[0/1] iio: imu: adis16475.c: Add buffer padding after temp

Message ID 20230926085721.645687-1-ramona.gradinariu@analog.com
Headers
Series iio: imu: adis16475.c: Add buffer padding after temp |

Message

Ramona Gradinariu Sept. 26, 2023, 8:57 a.m. UTC
  The temperature channel has 16-bit storage size. We need to perform
the padding to have the buffer elements naturally aligned in case
the temperature channel is enabled and there are any 32-bit storage
size channels enabled which have a scan index higher than the
temperature channel scan index.
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):
  iio: imu: adis16475.c: Add buffer padding after temp channel

 drivers/iio/imu/adis16475.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

--
2.34.1