From bcf4a5f474d1899af65f0974914f737bf9a8d9dd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 22 Feb 2018 10:09:30 +0100 Subject: ramips: remove chunked-io patch and set spi->max_transfer_size instead Signed-off-by: Felix Fietkau --- .../patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch') diff --git a/target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch b/target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch index 6ee0845ffe..b8819e53e1 100644 --- a/target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch +++ b/target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch @@ -165,7 +165,7 @@ Signed-off-by: Felix Fietkau for (i = 0; i < len; ) { ssize_t written; loff_t addr = to + i; -@@ -1392,6 +1463,7 @@ static int spi_nor_write(struct mtd_info +@@ -1385,6 +1456,7 @@ static int spi_nor_write(struct mtd_info } write_err: @@ -173,7 +173,7 @@ Signed-off-by: Felix Fietkau spi_nor_unlock_and_unprep(nor, SPI_NOR_OPS_WRITE); return ret; } -@@ -2808,8 +2880,10 @@ int spi_nor_scan(struct spi_nor *nor, co +@@ -2801,8 +2873,10 @@ int spi_nor_scan(struct spi_nor *nor, co } else if (mtd->size > 0x1000000) { /* enable 4-byte addressing if the device exceeds 16MiB */ nor->addr_width = 4; -- cgit v1.2.3