diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-04-28 21:17:14 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-05-21 14:20:29 +0100 |
| commit | 413e1d6a95fcbbc048b6fce32c523e0a225275cb (patch) | |
| tree | 16e4320bda2aa703127b583fa952af5cdaf47407 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 64794edd47ecda20aa065479f4d20b31d482a561 (diff) | |
iio: adc: ad7606: explicit timestamp alignment
Use struct with aligned_s64 timestamp to make timestamp alignment
explicit. Technically, what we have works because for all known
architectures, IIO_DMA_MINALIGN is a multiple of __alignof__(s64).
But this way, we don't have to make people read the comments to know
why there are extra elements in each buffer.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250428-iio-adc-ad7606-fix-buffer-alignment-v1-1-88dfc57e5df0@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
