[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1234167048.git.mike@compulab.co.il>
Date: Sun, 22 Feb 2009 14:19:15 +0200
From: Mike Rapoport <mike@...pulab.co.il>
To: dbrownell@...rs.sourceforge.net
Cc: spi-devel-general@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, dcbw@...hat.com, andrey@...ybit.com,
Mike Rapoport <mike@...pulab.co.il>
Subject: [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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists