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

2016-08-21 Thread Greg Kroah-Hartman
On Thu, May 26, 2016 at 07:25:22PM -, 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 > Acked-by: Noralf

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

2016-05-29 Thread Noralf Trønnes
Den 26.05.2016 21:25, skrev Michal Suchanek: 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 --- Tested on sunxi spi with DMA enabled and

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

2016-05-26 Thread Michal Suchanek
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 --- Tested on sunxi spi with DMA enabled and disabled. Makes a visible speed difference and