[OpenWrt-Devel] [PATCH 21/23] ar71xx: modify patch 406-mtd-m25p80-allow-to-specify-max-read-size.patch
Zhao, Gang
gang.zhao.42 at gmail.com
Fri Jul 25 22:48:56 EDT 2014
From: "Zhao, Gang" <gamerh2o at gmail.com>
Related upstream change: v3.14-rc1~65^2~150 ("drivers: mtd: m25p80:
convert "bool" read check into an enum").
Signed-off-by: Zhao, Gang <gang.zhao.42 at gmail.com>
---
.../patches-3.14/406-mtd-m25p80-allow-to-specify-max-read-size.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ar71xx/patches-3.14/406-mtd-m25p80-allow-to-specify-max-read-size.patch b/target/linux/ar71xx/patches-3.14/406-mtd-m25p80-allow-to-specify-max-read-size.patch
index 5b9fa5b..d229b7f 100644
--- a/target/linux/ar71xx/patches-3.14/406-mtd-m25p80-allow-to-specify-max-read-size.patch
+++ b/target/linux/ar71xx/patches-3.14/406-mtd-m25p80-allow-to-specify-max-read-size.patch
@@ -66,7 +66,7 @@
- spi_sync(flash->spi, &m);
+ done = m.actual_length - m25p_cmdsz(flash) -
-+ (flash->fast_read ? 1 : 0);
++ dummy;
+ if (done != readlen) {
+ mutex_unlock(&flash->lock);
+ return 1;
--
1.9.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list