diff options
author | 2021-11-25 14:41:10 +0200 | |
---|---|---|
committer | 2021-11-26 13:24:38 +0000 | |
commit | f44a29ceb99fc99832ee1d55d7fe9c4dbf594660 (patch) | |
tree | e2fbcac067268fd6bda4c379bf9d285e553ec5ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: atmel: Drop slave_config argument in atmel_spi_dma_slave_config() (diff) | |
download | linux-dev-f44a29ceb99fc99832ee1d55d7fe9c4dbf594660.tar.xz linux-dev-f44a29ceb99fc99832ee1d55d7fe9c4dbf594660.zip |
spi: atmel: Remove setting of deprecated member of struct dma_slave_config
The 'direction' member of 'struct dma_slave_config' is deprecated.
Instead, drivers should use the direction argument to the
device_prep_slave_sg and device_prep_dma_cyclic functions or the
dir field in the dma_interleaved_template structure.
spi-atmel uses the direction argument to dmaengine_prep_slave_sg.
slave_config.direction is not used in neither of the DMA controller
drivers (at_h/xdmac) that spi-atmel is using, we can just remove the
setting of slave_config.direction and live with whatever stack value
is there.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211125124110.838037-3-tudor.ambarus@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions