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>
This commit is contained in:
Jarkko Nikula 2018-04-17 17:20:02 +03:00 • committed by Mark Brown
commit d5898e19c0
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 89 additions and 185 deletions