summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-04-07 04:00:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 17:31:07 +0200
commitfd5e191e7610eb7ecb5e35b2045ceb6554bea15a (patch)
treef324e79410cde9dd51a0c931b2dbce70f1313e9a /drivers/spi
parentspi_bfin5xx: remove unused IS_DMA_ALIGNED macro (diff)
downloadlinux-fd5e191e7610eb7ecb5e35b2045ceb6554bea15a.tar.xz
linux-fd5e191e7610eb7ecb5e35b2045ceb6554bea15a.zip
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 <mike@compulab.co.il> Cc: Bryan Wu <bryan.wu@analog.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions