ramips: remove chunked-io patch and set spi->max_transfer_size instead
[openwrt/staging/dedeckeh.git] / target / linux / generic / pending-4.14 / 470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch
index 10db289cc91535f0c5be627bbe4665d67cd3236b..88775041ce89c4b259d47805d81cd0064bfc2d99 100644 (file)
@@ -39,7 +39,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        depends on ARCH_AT91 || (ARM && COMPILE_TEST)
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -2562,10 +2562,12 @@ static int spi_nor_select_erase(struct s
+@@ -2555,10 +2555,12 @@ static int spi_nor_select_erase(struct s
  
  #ifdef CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
        /* prefer "small sector" erase if possible */