diff options
author | Geert Uytterhoeven <[email protected]> | 2014-01-21 13:59:17 +0100 |
---|---|---|
committer | Brian Norris <[email protected]> | 2014-01-27 21:19:28 -0800 |
commit | 464e906737d6eba2fe63e913e0df4306423b4f61 (patch) | |
tree | e441fb9017937efcc86603098eb433ad68bb829b /drivers/net/wireless/hostap/hostap_ap.c | |
parent | d8d5d10d0f27d1975e71617efff941321a0dc142 (diff) |
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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
0 files changed, 0 insertions, 0 deletions