summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mpc512x-psc.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-01-28 15:23:40 +0300
committerMark Brown <broonie@kernel.org>2015-01-28 22:42:42 +0300
commit4c9a761402d780b86b9b068aba4ef8e29ed15e99 (patch)
treee0270a671ce5f9e811fb72892ea4c05af24956b5 /drivers/spi/spi-mpc512x-psc.c
parentc5d348dffa7ca1f072ff5526171a2b88bbffc24b (diff)
downloadlinux-4c9a761402d780b86b9b068aba4ef8e29ed15e99.tar.xz
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 'drivers/spi/spi-mpc512x-psc.c')
0 files changed, 0 insertions, 0 deletions