diff options
author | 2010-01-21 11:40:51 +0000 | |
---|---|---|
committer | 2010-01-21 07:25:10 -0700 | |
commit | f4aec798ae5a837a1f062e295f9a5f1b00962589 (patch) | |
tree | 73c84ab0528fb7d9df5246c2cef6ea621d19c722 /lib/bitmap.c | |
parent | spi/dw_spi: fixed a spelling typo in a warning message. (diff) | |
download | linux-dev-f4aec798ae5a837a1f062e295f9a5f1b00962589.tar.xz linux-dev-f4aec798ae5a837a1f062e295f9a5f1b00962589.zip |
spi/dw_spi: remove conditional from 'poll_transfer'.
The 'poll_transfer' function employs a conditional to test whether the
transmit buffer is valid; in doing so, on a receive operation no data is
clocked out, thus no data is clocked in and ultimately errors appear.
This removes the conditional as the transmit function will be set to a null
writer when the transmit buffer is invalid, allowing the driver to clock
0x00 out to the device to receive data from the device.
Signed-off-by: George Shore <george@georgeshore.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions