Re: [PATCH AUTOSEL 5.5 01/41] spi: spi-omap2-mcspi: Handle DMA size restriction on AM65x

From: Sasha Levin
Date: Sun Mar 22 2020 - 15:37:44 EST


On Mon, Mar 16, 2020 at 11:50:57AM +0000, Mark Brown wrote:
On Sun, Mar 15, 2020 at 10:32:39PM -0400, Sasha Levin wrote:
From: Vignesh Raghavendra <vigneshr@xxxxxx>

[ Upstream commit e4e8276a4f652be2c7bb783a0155d4adb85f5d7d ]

On AM654, McSPI can only support 4K - 1 bytes per transfer when DMA is
enabled. Therefore populate master->max_transfer_size callback to
inform client drivers of this restriction when DMA channels are
available.

As ever this only provides information to other drivers which may be
buggy.

I'll drop it, thanks!

--
Thanks,
Sasha