Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_wit…
…h_timestamp() [ Upstream commit 3348838 ] 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: db6a19b ("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] Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information