kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.9 / 001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch
index e90270156ea721d144fb5ce47d5c9bac2d4df10f..9d41b3cce4ba88164bd1cb70c265ae98d3a09883 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
 
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -172,7 +172,8 @@ static ssize_t m25p80_read(struct spi_no
+@@ -174,7 +174,8 @@ static ssize_t m25p80_read(struct spi_no
  
        t[1].rx_buf = buf;
        t[1].rx_nbits = m25p80_rx_nbits(nor);