From: Geert Uytterhoeven Date: Tue, 21 Jan 2014 12:59:17 +0000 (+0100) Subject: mtd: m25p80: Set rx_nbits for Quad SPI transfers X-Git-Tag: v3.14-rc1~65^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464e906737d6eba2fe63e913e0df4306423b4f61;p=pandora-kernel.git mtd: m25p80: Set rx_nbits for Quad SPI transfers When using the Quad Read opcode, SPI masters still use Single SPI transfers, as spi_transfer.rx_nbits defaults to SPI_NBITS_SINGLE. Use SPI_NBITS_QUAD to fix this. While an earlier version of commit 3487a63955c34ea508bcf4ca5131ddd953876e2d ("drivers: mtd: m25p80: add quad read support") did this correctly, it was forgotten in the version that got merged. Signed-off-by: Geert Uytterhoeven Acked-by: Marek Vasut Signed-off-by: Brian Norris --- Reading git-diff-tree failed