Re: [PATCH v1 2/2] spi: pxa2xx: Update DMA mapping and using logic in the documentation

From: Andy Shevchenko
Date: Fri Dec 08 2023 - 11:12:14 EST


On Fri, Dec 08, 2023 at 12:13:40AM +0200, Andy Shevchenko wrote:
> Update DMA mapping and using logic in the documentation to follow what
> the code does.

...

> - if !enable_dma then
> - always use PIO transfers
> + if spi_message.len > 65536 then
> + if spi_message.is_dma_mapped or rx_dma_buf != 0 or tx_dma_buf != 0 then
> + reject premapped transfers

Here seems inconsistent indentation. I'll fix it in the next version.
Mark, should I resend patch 1 as well?

--
With Best Regards,
Andy Shevchenko