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

Maxime Ripard maxime.ripard at free-electrons.com
Tue Mar 7 02:18:52 PST 2017


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 at aosc.xyz>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170307/0b9ef3ff/attachment-0001.sig>


More information about the linux-arm-kernel mailing list