summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/sysfs.h
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-01-23 17:08:35 +0100
committerMark Brown <broonie@kernel.org>2015-01-27 17:25:34 +0000
commitc5d348dffa7ca1f072ff5526171a2b88bbffc24b (patch)
tree883632810a8ce926534cc3e6e403f1ef3fcec5c9 /drivers/md/bcache/sysfs.h
parent0240f94516964db00d0fc1d1e676f3c273710e17 (diff)
downloadtalos-op-linux-c5d348dffa7ca1f072ff5526171a2b88bbffc24b.tar.gz
talos-op-linux-c5d348dffa7ca1f072ff5526171a2b88bbffc24b.zip
spi/xilinx: Simplify data read from the Rx FIFO
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>
Diffstat (limited to 'drivers/md/bcache/sysfs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud