From: Mike Rapoport Date: Tue, 7 Apr 2009 02:00:56 +0000 (-0700) Subject: SPI: add dma_alignment field to spi_master X-Git-Tag: v2.6.30-rc1~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd5e191e7610eb7ecb5e35b2045ceb6554bea15a;p=pandora-kernel.git SPI: 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. Signed-off-by: Mike Rapoport Cc: Bryan Wu Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed