From: Brian Niebuhr Date: Mon, 23 Aug 2010 11:09:19 +0000 (+0530) Subject: spi: davinci: simplify poll mode transfers X-Git-Tag: v2.6.38-rc1~454^2~6^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=839c996ca8dd56f9ea80d7fc0c8b18b01394c82a;p=pandora-kernel.git spi: davinci: simplify poll mode transfers Use the fact that the get_tx and get_rx can now cope with NULL buffer pointers to simplify the poll mode transfer code. While at it, check for SPI errors every transfer rather than at the end of the whole transfer. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed