git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0240f94
)
spi/xilinx: Simplify data read from the Rx FIFO
author
Ricardo Ribalda Delgado
<ricardo.ribalda@gmail.com>
Fri, 23 Jan 2015 16:08:35 +0000
(17:08 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 27 Jan 2015 17:25:34 +0000
(17:25 +0000)
The number of words in the read buffer will be exactly the same as the
number of words written on write buffer, once the transaction has
finished.
Instead of cheking the rx_empty flags for every word simply save the
number of words written by fill_tx_fifo.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xilinx.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi-xilinx.c
Simple merge