From: George Shore Date: Thu, 21 Jan 2010 11:40:51 +0000 (+0000) Subject: spi/dw_spi: remove conditional from 'poll_transfer'. X-Git-Tag: v2.6.34-rc1~290^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4aec798ae5a837a1f062e295f9a5f1b00962589;p=pandora-kernel.git spi/dw_spi: remove conditional from 'poll_transfer'. The 'poll_transfer' function employs a conditional to test whether the transmit buffer is valid; in doing so, on a receive operation no data is clocked out, thus no data is clocked in and ultimately errors appear. This removes the conditional as the transmit function will be set to a null writer when the transmit buffer is invalid, allowing the driver to clock 0x00 out to the device to receive data from the device. Signed-off-by: George Shore Signed-off-by: Grant Likely --- Reading git-diff-tree failed