From: Geert Uytterhoeven Date: Fri, 21 Feb 2014 16:29:18 +0000 (+0100) Subject: spi: rspi: Fix loopback mode for Dual/Quad SPI Transfers X-Git-Tag: v3.15-rc1~147^2~3^8~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba824d4971691a7f1f66429e378a08a95fbb5b79;p=pandora-kernel.git spi: rspi: Fix loopback mode for Dual/Quad SPI Transfers While normal Dual and Quad SPI Transfers are unidirectional, we must do a bidirectional transfer if loopback mode is enabled, else rx_buf is not filled. With spidev it seemed to work, as spidev uses the same buffer for tranmission and reception. Signed-off-by: Geert Uytterhoeven Signed-off-by: Mark Brown --- Reading git-diff-tree failed