[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZXNAVXRG9aXWlwsu@smile.fi.intel.com>
Date: Fri, 8 Dec 2023 18:12:05 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH v1 2/2] spi: pxa2xx: Update DMA mapping and using logic
in the documentation
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
Powered by blists - more mailing lists