diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-01 18:01:10 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:28 +0100 |
| commit | d85d71dd1ab67eaa7351f69fec512d8f09d164e1 (patch) | |
| tree | 7b7a52153faced7cb5555fc4fe6e564c0a56a523 /tools/perf/scripts/python | |
| parent | 334883894bc1e145a1e0f5de1b0d1b6a1133f0e6 (diff) | |
iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
To make code more readable, use a structure to express the channel
layout and ensure the timestamp is 8 byte aligned.
Found during an audit of all calls of this function.
Fixes: ecc24e72f437 ("iio: adc: Add TI ADS1015 ADC driver support")
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Daniel Baluta <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions