kernel: update kernel 4.4 to version 4.4.30
[openwrt/staging/stintel.git] / target / linux / layerscape / patches-4.4 / 1085-mtd-spi-nor-Check-the-return-value-from-read_sr.patch
index 6f39b6bfc793110e827d42e1b91e65ede30c43fd..96d9309e4baa0491b526949361743c11d44522b1 100644 (file)
@@ -47,7 +47,7 @@ Integrated-by: Jiang Yutang <yutang.jiang@nxp.com>
  
        /* Cannot unlock; would unlock larger region than requested */
        if (stm_is_locked_sr(nor, ofs - mtd->erasesize, mtd->erasesize,
-@@ -1036,6 +1040,8 @@ static int macronix_quad_enable(struct s
+@@ -1037,6 +1041,8 @@ static int macronix_quad_enable(struct s
        int ret, val;
  
        val = read_sr(nor);