From aed03d5d0f304cc85a8ccb4ef98684703fc027af Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 30 Mar 2018 20:41:02 +0200 Subject: kernel: update kernel 4.9 to version 4.9.91 * Refreshed patches. * Deleted 210-Revert-led-core-Fix-brightness-setting-when-setting-.patch (was accepted upstream) * Deleted 812-pci-dwc-fix-enumeration.patch (was accepted upstream) Compile and run tested on lantiq Signed-off-by: Hauke Mehrtens --- ...td-add-of_match_table-parsing-for-partition-parsers.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/brcm63xx') diff --git a/target/linux/brcm63xx/patches-4.9/120-mtd-add-of_match_table-parsing-for-partition-parsers.patch b/target/linux/brcm63xx/patches-4.9/120-mtd-add-of_match_table-parsing-for-partition-parsers.patch index 82992c5403..6a93398c72 100644 --- a/target/linux/brcm63xx/patches-4.9/120-mtd-add-of_match_table-parsing-for-partition-parsers.patch +++ b/target/linux/brcm63xx/patches-4.9/120-mtd-add-of_match_table-parsing-for-partition-parsers.patch @@ -52,9 +52,9 @@ Signed-off-by: Jonas Gorski cur_offset = slave->offset + slave->mtd.size; } -@@ -1164,7 +1163,9 @@ int parse_mtd_partitions(struct mtd_info - types = types_of; - } +@@ -1136,7 +1135,9 @@ static int mtd_part_of_parse(struct mtd_ + const char *fixed = "fixed-partitions"; + int ret, err = 0; - np = of_get_child_by_name(mtd_get_of_node(master), "partitions"); + np = mtd_get_of_node(master); @@ -63,9 +63,9 @@ Signed-off-by: Jonas Gorski of_property_for_each_string(np, "compatible", prop, compat) { parser = mtd_part_get_compatible_parser(compat); if (!parser) -@@ -1180,8 +1181,12 @@ int parse_mtd_partitions(struct mtd_info +@@ -1208,8 +1209,12 @@ int parse_mtd_partitions(struct mtd_info + types = types_of; } - of_node_put(np); - if (!types) + if (!types) { @@ -76,4 +76,4 @@ Signed-off-by: Jonas Gorski + } for ( ; *types; types++) { - pr_debug("%s: parsing partitions %s\n", master->name, *types); + /* -- cgit v1.2.3