All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add dma_alignment field to spi_master
@ 2009-02-22 12:19 ` Mike Rapoport
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Rapoport @ 2009-02-09  8:12 UTC (permalink / raw)
  To: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f
  Cc: dcbw-H+wXaHxf7aLQT0dZR+AlfA,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	andrey-W/OLz77bvjtBDgjK7y7TUQ, mike-UTxiZqZC01RS1MOuV/RT9w

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

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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09  8:12 [PATCH 0/3] Add dma_alignment field to spi_master Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND " Mike Rapoport
     [not found] ` <cover.1234167048.git.mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2009-02-09  8:12   ` [PATCH 1/3] SPI: add " Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-09  8:12   ` [PATCH 2/3] pxa2xx_spi: set spi_master.dma_alignment = 8 Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-09  8:12   ` [PATCH 3/3] spi_imx: set spi_master.dma_alignment = 4 Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-16  9:05   ` [PATCH 0/3] Add dma_alignment field to spi_master Mike Rapoport

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.