summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch
new file mode 100644
index 0000000..383cc21
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch
@@ -0,0 +1,16 @@
+Remove warning on every gpio pin allocated from
+device tree.
+================================================
+diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
+index 1688f576ee8a..eae7c9d72c1a 100644
+--- a/drivers/of/overlay.c
++++ b/drivers/of/overlay.c
+@@ -362,7 +362,7 @@ static int add_changeset_property(struct overlay_changeset *ovcs,
+ }
+
+ if (!of_node_check_flag(target->np, OF_OVERLAY))
+- pr_err("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
++ pr_debug("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
+ target->np, new_prop->name);
+
+ if (ret) {