Yeah, it needs CONFIG_SPI_DEBUG.[ 9.506895] pxa2xx-spi pxa2xx-spi.13: no DMA channels available,
using PIO
[ 9.516770] pxa2xx-spi pxa2xx-spi.13: registered master spi2
[ 9.518527] pxa2xx-spi pxa2xx-spi.13: PXA2xx SPI master controller
(PIO mode)
I have added this message because, using an x86 machine, the message:
"pxa2xx-spi pxa2xx-spi.13: registered master spi2"
doesn't appear in the kernel messages!
Yes, something like that.Actually this info message doesn't necessarily tell will the driver end
up using DMA for transfers. See pxa2xx_spi_can_dma() and
pxa2xx_spi_transfer_one().
How about replacing "no DMA channels available, using PIO" and have
instead single info message telling is the DMA available or does the
driver use PIO only?
Ok, it's a good idea, to avoid to many similar messages.
So I can simply remove the:
"no DMA channels available, using PIO"
and leave only the new:
" pxa2xx-spi pxa2xx-spi.13: PXA2xx SPI master controller (PIO mode)"