diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2015-01-28 13:23:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-28 19:42:42 +0000 |
commit | 4c9a761402d780b86b9b068aba4ef8e29ed15e99 (patch) | |
tree | e0270a671ce5f9e811fb72892ea4c05af24956b5 /fs/nls/nls_cp775.c | |
parent | c5d348dffa7ca1f072ff5526171a2b88bbffc24b (diff) | |
download | talos-op-linux-4c9a761402d780b86b9b068aba4ef8e29ed15e99.tar.gz talos-op-linux-4c9a761402d780b86b9b068aba4ef8e29ed15e99.zip |
spi/xilinx: Simplify spi_fill_tx_fifo
Instead of checking the TX_FULL flag for every transaction, find out the
size of the buffer at probe time and use it.
To avoid situations where the core had some data on the buffer before
initialization, the core is reseted before the buffer size is detected
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/nls/nls_cp775.c')
0 files changed, 0 insertions, 0 deletions