summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-02-23 17:33:21 +0100
committerFelix Fietkau <nbd@nbd.name>2018-02-26 19:20:06 +0100
commita49f6565b34c7defbe66cd03c2cb04752ec4dbe6 (patch)
tree5f9c2c58638362ad0408b732c565bd3a3cc8fb21 /target/linux/brcm63xx
parent25aaff9100065dba881be71b9dcab1e9cc8a7b5f (diff)
downloadmtk-20170518-a49f6565b34c7defbe66cd03c2cb04752ec4dbe6.zip
mtk-20170518-a49f6565b34c7defbe66cd03c2cb04752ec4dbe6.tar.gz
mtk-20170518-a49f6565b34c7defbe66cd03c2cb04752ec4dbe6.tar.bz2
kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/patches-4.9/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-4.9/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch b/target/linux/brcm63xx/patches-4.9/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch
index e902701..9d41b3c 100644
--- a/target/linux/brcm63xx/patches-4.9/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch
+++ b/target/linux/brcm63xx/patches-4.9/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch
@@ -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);