diff options
author | Brian Niebuhr <[email protected]> | 2010-10-01 10:29:29 +0530 |
---|---|---|
committer | Sekhar Nori <[email protected]> | 2010-11-18 18:38:34 +0530 |
commit | e91c659bbcf2f47519260182a75f64ede34df3ca (patch) | |
tree | f72c8d87f1b28b2119b1a3f17b85e38e5e4cc13f /net/lapb/lapb_iface.c | |
parent | d3f7141cbf4580b2f18f93940df29cf0c15e7ef5 (diff) |
spi: davinci: always start receive DMA
In keeping with the full duplex nature of the SPI bus. Always
start receive DMA along with transmit DMA.
If there is no receive buffer provided with the transfer, use
a temporary buffer to receive the data to be thrown away.
[[email protected]: receive DMA size should
be same as transfer length to avoid hang-up when transfer length
is smaller than temporary rx buffer size (rx buffer not provided)]
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