Skip to content
Commit f9b90e39 authored by Vernon Sauder's avatar Vernon Sauder Committed by Linus Torvalds
Browse files

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: default avatarVernon Sauder <Vernon.Sauder@gmail.com>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 62f9e8f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment