mbox series

[v3,0/2] spi: pxa2xx: Adjust DMA burst size per platform

Message ID 20190318144144.42367-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series spi: pxa2xx: Adjust DMA burst size per platform | expand

Message

Andy Shevchenko March 18, 2019, 2:41 p.m. UTC
On some platforms DMA burst size is not the same as hard coded default.
Fix the driver to support them.

In v3:
- drop threshold print since it's easy to calculate constant (Jarkko)
- split one more unrelated change to a separate patch,
  but independent from this series  (Jarkko)

In v2:
- drop unrelated changes (Jarkko, Robert)
- don't include Robert's tag due to changes in the patch

Andy Shevchenko (2):
  spi: pxa2xx: Introduce DMA burst size support
  spi: pxa2xx: Debug print DMA burst size

 drivers/spi/spi-pxa2xx-dma.c   | 4 +++-
 drivers/spi/spi-pxa2xx-pci.c   | 4 ++++
 drivers/spi/spi-pxa2xx.c       | 4 ++++
 include/linux/spi/pxa2xx_spi.h | 1 +
 4 files changed, 12 insertions(+), 1 deletion(-)

Comments

Andy Shevchenko March 18, 2019, 4:33 p.m. UTC | #1
On Mon, Mar 18, 2019 at 04:41:42PM +0200, Andy Shevchenko wrote:
> On some platforms DMA burst size is not the same as hard coded default.
> Fix the driver to support them.
> 
> In v3:
> - drop threshold print since it's easy to calculate constant (Jarkko)
> - split one more unrelated change to a separate patch,
>   but independent from this series  (Jarkko)

Forgot to rebase.
It will not compile on v5.1-rc1 due to s/master/controller/g changes.

> 
> In v2:
> - drop unrelated changes (Jarkko, Robert)
> - don't include Robert's tag due to changes in the patch
> 
> Andy Shevchenko (2):
>   spi: pxa2xx: Introduce DMA burst size support
>   spi: pxa2xx: Debug print DMA burst size
> 
>  drivers/spi/spi-pxa2xx-dma.c   | 4 +++-
>  drivers/spi/spi-pxa2xx-pci.c   | 4 ++++
>  drivers/spi/spi-pxa2xx.c       | 4 ++++
>  include/linux/spi/pxa2xx_spi.h | 1 +
>  4 files changed, 12 insertions(+), 1 deletion(-)
> 
> -- 
> 2.20.1
>