From: "Zhao, Gang" <gamer...@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...@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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel