diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-01 18:01:08 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:28 +0100 |
| commit | f40a71ffec808e7e51848f63f0c0d3c32d65081b (patch) | |
| tree | a8780eb83692338c8b9a80a65d2a1e05231a379a /tools/perf/scripts/python | |
| parent | f65802284a3a337510d7f8f916c97d66c74f2e71 (diff) | |
iio: accel: stk8312: 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: 95c12bba51c3 ("iio: accel: Add buffer mode for Sensortek STK8312")
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