Home
last modified time | relevance | path

Searched hist:ee03672d961bdac2ac1e593e9c29b0d3b7320409 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-pxa2xx.cdiff ee03672d961bdac2ac1e593e9c29b0d3b7320409 Tue Jan 26 07:33:21 CST 2016 Jarkko Nikula <jarkko.nikula@linux.intel.com> spi: pxa2xx: Print actual DMA/PIO transfer mode in debug messages

Transfer debug messages don't actually show is the transfer really using
DMA. Driver may fall back to PIO in case transfer size is not within the
certain limits or fails to map DMA buffers but debug messages don't reveal
that.

Move these debug messages further in pump_transfers() where the actual
transfer mode is known and use drv_data->dma_mapped flag instead of
chip->enable_dma for printing the mode.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>