diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2016-11-24 12:24:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-25 13:07:09 +0000 |
commit | 7910d9af000acc155745e44be55a5d0dc9e26ce7 (patch) | |
tree | ed2041231dfd74acdee85c2c12d074d7d10d9760 /certs | |
parent | ce24a513fb142e855b4aa77f91334c2f203c0d99 (diff) | |
download | linux-7910d9af000acc155745e44be55a5d0dc9e26ce7.tar.bz2 |
spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling
We need both RX and TX data for each transfer in any case (PIO, PDC, DMA).
So convert the driver to the core dummy buffer handling with the
SPI_MASTER_MUST_RX/SPI_MASTER_MUST_TX infrastructure.
This move changes the maximum PDC/DMA buffer handling to 65535 bytes
instead of a single page and sets master->max_dma_len to this value.
All dummy buffer management is removed from the driver.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions