commit | 839c996ca8dd56f9ea80d7fc0c8b18b01394c82a | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr@efjohnson.com> | Mon Aug 23 16:39:19 2010 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Thu Nov 18 18:38:30 2010 +0530 |
tree | f8c66ef8f4eaabfb9e4de0e7ca2bbf6038d5536a | |
parent | cf90fe73504764cbcc2552c7ea69b1866059db30 [diff] |
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>