David,
Any comments?

Mike Rapoport wrote:
> 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(-)
> 

-- 
Sincerely yours,
Mike.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to