diff options
| author | Angel Iglesias <[email protected]> | 2022-09-13 01:48:21 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-09-21 18:42:54 +0100 |
| commit | 327b5c0512c18287162d0f12949aae41d64358b0 (patch) | |
| tree | 0f8f287ecaca6cd2ad5e03a10148801d1913fd37 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | b00e805a47a86fb5890a1c2451e4d89043b1761d (diff) | |
iio: pressure: bmp280: Fix alignment for DMA safety
Adds DMA-safe buffers to driver data struct to store raw data from sensors
The multiple buffers used thorough the driver share the same memory
allocated as part of the device data instance. The union containing
the buffers is aligned to allow safe usage with DMA operations, such
as regmap bulk read calls.
Updated measurement and calibration reading functions to use the safe
DMA buffers.
Suggested-by: Jonathan Cameron <[email protected]>
Signed-off-by: Angel Iglesias <[email protected]>
Link: https://lore.kernel.org/r/7919793f7f63224d5ce413c66d648029683c17ac.1663025017.git.ang.iglesiasg@gmail.com
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions