Skip to content

Add dma_alignment field to spi_master

Mike Rapoport linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3SPI: add dma_alignment field to spi_masterinclude/linux/spi/spi.h+6 -00 replies
2/3pxa2xx_spi: set spi_master.dma_alignment = 8drivers/spi/pxa2xx_spi.c+2 -00 replies
3/3spi_imx: set spi_master.dma_alignment = 4drivers/spi/spi_imx.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RESEND 0/3] Add dma_alignment field to spi_master

Some SPI controllers have restrictions on DMAable buffers alignemt. Currently if the buffer supplied by protocol driver is not properly aligned, the controller silently performs transfer in PIO mode. Addition of dma_alignment field to spi_master allows protocol drivers to perform proper alignment.

Mike Rapoport (3):
SPI: add dma_alignment field to spi_master
pxa2xx_spi: set spi_master.dma_alignment = 8
spi_imx: set spi_master.dma_alignment = 4

 drivers/spi/pxa2xx_spi.c |    2 ++
 drivers/spi/spi_imx.c    |    2 ++
 include/linux/spi/spi.h  |    6 ++++++
 3 files changed, 10 insertions(+), 0 deletions(-)

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com