mtd: m25p80: Set rx_nbits for Quad SPI transfers
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 21 Jan 2014 12:59:17 +0000 (13:59 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 28 Jan 2014 05:19:28 +0000 (21:19 -0800)
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 <geert+renesas@linux-m68k.org>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found