generic: mtd: backport SPI_NOR_HAS_LOCK
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 1084-mtd-spi-nor-fix-error-handling-in-spi_nor_erase.patch
index 3930028d97b386c8a44ca79237728d9fbc7c97c8..53501315e94231f8d25030f8b2eb9f265bfcb7fa 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Brian Norris <computersforpeace@gmail.com>
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -410,17 +410,13 @@ static int spi_nor_erase(struct mtd_info
+@@ -411,17 +411,13 @@ static int spi_nor_erase(struct mtd_info
  
        write_disable(nor);