public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/3] Add dma_alignment field to spi_master
@ 2009-02-22 12:19 Mike Rapoport
  2009-02-22 12:19 ` [PATCH RESEND 1/3] SPI: add " Mike Rapoport
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mike Rapoport @ 2009-02-22 12:19 UTC (permalink / raw)
  To: dbrownell; +Cc: spi-devel-general, linux-kernel, dcbw, andrey, Mike Rapoport

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(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-22 12:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-22 12:19 [PATCH RESEND 0/3] Add dma_alignment field to spi_master Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND 1/3] SPI: add " Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND 2/3] pxa2xx_spi: set spi_master.dma_alignment = 8 Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND 3/3] spi_imx: set spi_master.dma_alignment = 4 Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox