commit | 4c9a761402d780b86b9b068aba4ef8e29ed15e99 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Wed Jan 28 13:23:40 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 28 19:42:42 2015 +0000 |
tree | e0270a671ce5f9e811fb72892ea4c05af24956b5 | |
parent | c5d348dffa7ca1f072ff5526171a2b88bbffc24b [diff] |
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>