aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-23 16:39:19 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:30 +0530
commit839c996ca8dd56f9ea80d7fc0c8b18b01394c82a (patch)
treef8c66ef8f4eaabfb9e4de0e7ca2bbf6038d5536a /arch/arm/mach-davinci/include
parentcf90fe73504764cbcc2552c7ea69b1866059db30 (diff)
downloadkernel_samsung_crespo-839c996ca8dd56f9ea80d7fc0c8b18b01394c82a.tar.gz
kernel_samsung_crespo-839c996ca8dd56f9ea80d7fc0c8b18b01394c82a.tar.bz2
kernel_samsung_crespo-839c996ca8dd56f9ea80d7fc0c8b18b01394c82a.zip
spi: davinci: simplify poll mode transfers
Use the fact that the get_tx and get_rx can now cope with NULL buffer pointers to simplify the poll mode transfer code. While at it, check for SPI errors every transfer rather than at the end of the whole transfer. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
0 files changed, 0 insertions, 0 deletions