diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-04-13 17:39:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-13 18:04:30 -0400 |
commit | bdff549ebeff92b1a6952e5501caf16a6f8898c8 (patch) | |
tree | 3cebe8c0f7b26433e42832a6feb50fd6e4de75b7 /lib/lmb.c | |
parent | 0769c2981495c3d05429840d6fc7a1b5e26accaa (diff) |
spi: spi_write_then_read() bugfixes
The "simplify spi_write_then_read()" patch included two regressions from
the 2.6.27 behaviors:
- The data it wrote out during the (full duplex) read side
of the transfer was not zeroed.
- It fails completely on half duplex hardware, such as
Microwire and most "3-wire" SPI variants.
So, revert that patch. A revised version should be submitted at some
point, which can get the speedup on standard hardware (full duplex)
without breaking on less-capable half-duplex stuff.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: <stable@kernel.org> [2.6.28.x, 2.6.29.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lmb.c')
0 files changed, 0 insertions, 0 deletions