Re: [PATCH] fbtft: limit transfer length by spi device limit

From: Greg Kroah-Hartman
Date: Sun Aug 21 2016 - 17:28:25 EST


On Thu, May 26, 2016 at 07:25:22PM -0000, Michal Suchanek wrote:
> Some SPI controllers can transfer only small piece of data at a time.
> Since SPI core gained a function to get the maximum transfer length use
> it.
>
> Signed-off-by: Michal Suchanek <hramrach@xxxxxxxxx>
> Acked-by: Noralf Trønnes <noralf@xxxxxxxxxxx>
> ---
>
> Tested on sunxi spi with DMA enabled and disabled. Makes a visible speed
> difference and display works in either case.
>
> drivers/staging/fbtft/fbtft-core.c | 9 +++++++++
> 1 file changed, 9 insertions(+)

This patch adds a build warning to the tree, so I can't take it.

Please fix up and resend.

thanks,

greg k-h