commit | f9b90e39cbc5c4d6ef60022fd1f25d541df0aad1 | [log] [tgz] |
---|---|---|
author | Vernon Sauder <vernoninhand@gmail.com> | Wed Oct 15 22:02:40 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:38 2008 -0700 |
tree | af043fc4e24a12447c7312ef9b246f24d619f6f7 | |
parent | 62f9e8f15a95822e0a793090ff69b277690c6aa6 [diff] |
spi: simplify spi_write_then_read() Modify spi_write_then_read() to use one transfer. This speeds up all callers, and is a minor code shrink. Signed-off-by: Vernon Sauder <Vernon.Sauder@gmail.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>