diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-09 17:48:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-09 21:11:13 +0300 |
commit | 9f14538ecd1a210eff244a0a2281f6744fe4a59d (patch) | |
tree | 3fbe4c565d59def0182e970ab19e039d55c66ebf /block | |
parent | e31abce778bc05b94d406e8cbebd9953d12e84b8 (diff) | |
download | linux-9f14538ecd1a210eff244a0a2281f6744fe4a59d.tar.xz |
spi: dw-mid: split dma_setup() from dma_transfer()
The patch splits DMA preparatory code to dma_setup() callback. The change also
converts transfer_one() to program DMA whenever the transfer is DMA mapped. The
change is a follow up of the converion to use SPI core transfer_one_message().
Since the DMA mapped transfers can be interleaved with PIO ones the DMA related
configuration should respect that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions