On Sat, Apr 13, 2019 at 08:24:14PM +0200, Noralf Trønnes wrote:
> @@ -844,6 +816,17 @@ static int bcm2835_spi_prepare_message(struct spi_master
> *master,
> struct spi_device *spi = msg->spi;
> struct bcm2835_spi *bs = spi_master_get_devdata(master);
> u32 cs = bcm2835_rd(bs,
From: Meghana Madhyastha
Split spi transfers into chunks of <=65532 to enable the driver to
perform DMA transfer on big buffers. The DLEN register specifies the
number of bytes to transfer in DMA mode. It is 16-bit wide and thus the
maximum DMA transfer is 65535 bytes. Set the maximum to 65532