diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-01 18:01:09 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:28 +0100 |
| commit | 334883894bc1e145a1e0f5de1b0d1b6a1133f0e6 (patch) | |
| tree | 4e9eb6a060a80c75fa38202effebb3bcd1c9a773 /tools/perf/scripts/python | |
| parent | f40a71ffec808e7e51848f63f0c0d3c32d65081b (diff) | |
iio: accel: stk8ba50: 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: db6a19b8251f ("iio: accel: Add trigger support for STK8BA50")
Signed-off-by: Jonathan Cameron <[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