]> git.baikalelectronics.ru Git - kernel.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)
commit5c0832d01f5c00960a2e677a75e2fd3b58fcabe9
tree14ec18efa05a7168123c039caf10144230cf2fb1
parent422f26d055d37425e56d315fc2a3dff2c178a0e1
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