]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: pxa2xx: Use core message processing loop
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 17 Apr 2018 14:20:02 +0000 (17:20 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 16:11:30 +0000 (17:11 +0100)
commitd5898e19c0d74cd41b9f5c8c8ea87e559c3fe0c1
tree14ec18efa05a7168123c039caf10144230cf2fb1
parent8ae55af38817a0e0a9bd2987c4e5aa40db4ce5dd
spi: pxa2xx: Use core message processing loop

Convert the pump_transfers() transfer tasklet to transfer_one() hook the
SPI core calls to process single transfer instead of handling message
processing and chip select handling in the driver. This not only
simplifies the driver but also brings transfer statistics from the core.

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