From: Ricardo Ribalda Delgado Date: Wed, 28 Jan 2015 12:23:40 +0000 (+0100) Subject: spi/xilinx: Simplify spi_fill_tx_fifo X-Git-Tag: fixes-v4.0-rc1~184^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c9a761402d780b86b9b068aba4ef8e29ed15e99;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed