Re: [PATCH] spi: sun6i: Allow transfers larger than FIFO size

From: Maxime Ripard
Date: Tue Mar 07 2017 - 07:17:00 EST


On Mon, Mar 06, 2017 at 08:14:43PM +0800, Icenowy Zheng wrote:
> The spi-sun6i driver have the same problem that spi-sun4i used to have
> -- SPI transfers are limited to one FIFO depth.
>
> This commit fixes this problem in the same way it's fixed in spi-sun4i.
> See commit 196737912da5 ("spi: sun4i: Allow transfers larger than FIFO size")
> for more information.
>
> The sun6i SPI controllers features changeable interrupt trigger level, but I
> set it to 3/4 of fifo depth, as same as the the sun4i SPI controllers.
>
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxxx>

Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature