spi: pxa2xx: Switch to SPI core DMA mapping functionality
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 21 Jun 2016 10:21:34 +0000 (13:21 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jun 2016 17:44:48 +0000 (18:44 +0100)
commitb6ced294fb61418e7d3fc30bac696f313551d412
tree88220341a7d916b53e47710b62a16efc10423571
parent2d7537d8f64184debed89a57aa7bea5d27b76a90
spi: pxa2xx: Switch to SPI core DMA mapping functionality

SPI core provides DMA mapping with scatterlists. Start using it instead
of own implementation in spi-pxa2xx. Major difference in addition to
bunch of removed boilerplate code is that SPI core does
mapping/unmapping for all transfers in a message before and after the
message sending where spi-pxa2xx did mapping/unmapping for each
transfers separately.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h