diff options
author | Brian Niebuhr <[email protected]> | 2010-08-23 16:39:19 +0530 |
---|---|---|
committer | Sekhar Nori <[email protected]> | 2010-11-18 18:38:30 +0530 |
commit | 839c996ca8dd56f9ea80d7fc0c8b18b01394c82a (patch) | |
tree | f8c66ef8f4eaabfb9e4de0e7ca2bbf6038d5536a /net/lapb/lapb_iface.c | |
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 <[email protected]>
Tested-By: Michael Williamson <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions