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

From: Mike Rapoport
Date: Sun Feb 22 2009 - 07:19:55 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/