kernel: bump 5.10 to 5.10.104
[openwrt/staging/dedeckeh.git] / target / linux / bcm53xx / patches-5.10 / 140-mtd-parsers-trx-parse-firmware-MTD-partitions-only.patch
index fa86303637145b930b2d1d42dd0d6dfd59062d19..e1933e75c78a202cb24b3316dfbcfc6757e7abe4 100644 (file)
@@ -30,9 +30,9 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
 
 --- a/drivers/mtd/parsers/parser_trx.c
 +++ b/drivers/mtd/parsers/parser_trx.c
-@@ -85,6 +85,10 @@ static int parser_trx_parse(struct mtd_i
-       uint8_t curr_part = 0, i = 0;
-       int err;
+@@ -92,6 +92,10 @@ static int parser_trx_parse(struct mtd_i
+       if (err != 0 && err != -EINVAL)
+               pr_err("failed to parse \"brcm,trx-magic\" DT attribute, using default: %d\n", err);
  
 +      /* Don't parse any failsafe / backup partitions */
 +      if (strcmp(mtd->name, "firmware"))