diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-05-08 20:56:25 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 13:53:15 +0300 |
commit | d2b240d3d31c66df4d2da54c75ff8e27a0e006c3 (patch) | |
tree | 49dec4359035fc854c624d1397b24d2839c7cb08 /drivers/iio/adc/xilinx-xadc.h | |
parent | 94ec314e1bd686b669c24385ce2dbc967eb74147 (diff) | |
download | linux-d2b240d3d31c66df4d2da54c75ff8e27a0e006c3.tar.xz |
iio: dac: ad5421: Fix alignment for DMA safety
____cacheline_aligned is an insufficient guarantee for non-coherent DMA
on platforms with 128 byte cachelines above L1. Switch to the updated
IIO_DMA_MINALIGN definition.
Update the comment to include 'may'.
Fixes: 5691b23489db ("staging:iio:dac: Add AD5421 driver")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220508175712.647246-46-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc/xilinx-xadc.h')
0 files changed, 0 insertions, 0 deletions