kernel: update kernel 4.9 to version 4.9.10
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.9 / 400-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch
index 184d7a2d891a607bf9ba40cbedfaceeaa8310ffe..665c9786c76dbd8b23ba77b7e4151fd5c8a5b37a 100644 (file)
@@ -13,9 +13,9 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -875,6 +875,18 @@ static const struct flash_info *spi_nor_
+@@ -1190,6 +1190,18 @@ static const struct flash_info *spi_nor_
        }
-       dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %2x, %2x\n",
+       dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %02x, %02x\n",
                id[0], id[1], id[2]);
 +
 +      tmp = nor->read_reg(nor, 0x90, id, SPI_NOR_MAX_ID_LEN);