commit | 8c3ad488fe0e4478b3b29b9501074c5fb1bfda0d | [log] [tgz] |
---|---|---|
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | Thu Mar 24 15:35:44 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 28 10:42:00 2016 +0100 |
tree | 8d95788523f52330b5396cc96de8ec231caa12b8 | |
parent | 68335ec76e45fb3a1b796b26c3ea49ce1231d8fb [diff] |
spi: pxa2xx: Use dummy buffers provided by SPI core Dummy buffer is used for half duplex transfers that don't have TX or RX buffer set. Instead of own dummy buffer management here let the SPI core to handle it by setting the SPI_MASTER_MUST_RX and SPI_MASTER_MUST_TX flags. Then core makes sure both transfer buffers are set. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>