diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-05-22 14:54:05 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-04 19:53:06 +0100 |
commit | 7a8e7f13f99b31c85b77b362cb7b7a23fead11d3 (patch) | |
tree | 677eda078d8dd7e8ad41b10f7320afe76b6d164e /lib/uuid.c | |
parent | cba37c2e532dc234cc8ea1894f130ca39948d4a9 (diff) |
iio: adc: ad9467: use DMA safe buffer for spi
Make sure we use a DMA safe buffer (IIO_DMA_MINALIGN) for all the spi
transfers. Only relevant for writes since for reads
spi_write_then_read() is used which does not require DMA safe buffers.
Also note that for consistency, ad9467_spi_read() is also taking struct
ad9467_state as a parameter (even if not really needed).
Fixes: ad6797120238 ("iio: adc: ad9467: add support AD9467 ADC")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240522-dev-ad9467-dma-v2-1-a37bec463632@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions