aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch')
-rw-r--r--target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch87
1 files changed, 87 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch b/target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch
new file mode 100644
index 0000000000..d01eaf3947
--- /dev/null
+++ b/target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch
@@ -0,0 +1,87 @@
+From 5d1bd9669ddcd26384672891c37110046e1ac8e8 Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linus.walleij@linaro.org>
+Date: Tue, 9 Oct 2018 10:12:24 +0200
+Subject: [PATCH 03/18] pinctrl: gemini: Drop noisy debug prints
+
+The dev_info() in the pin control driver is really just good
+for debug, so drop it.
+
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+---
+ drivers/pinctrl/pinctrl-gemini.c | 32 ++++++++++++++++----------------
+ 1 file changed, 16 insertions(+), 16 deletions(-)
+
+diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c
+index 3535f9841861..f75bf6f16a2e 100644
+--- a/drivers/pinctrl/pinctrl-gemini.c
++++ b/drivers/pinctrl/pinctrl-gemini.c
+@@ -2207,9 +2207,9 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
+ return -ENODEV;
+ }
+
+- dev_info(pmx->dev,
+- "ACTIVATE function \"%s\" with group \"%s\"\n",
+- func->name, grp->name);
++ dev_dbg(pmx->dev,
++ "ACTIVATE function \"%s\" with group \"%s\"\n",
++ func->name, grp->name);
+
+ regmap_read(pmx->map, GLOBAL_MISC_CTRL, &before);
+ regmap_update_bits(pmx->map, GLOBAL_MISC_CTRL,
+@@ -2240,10 +2240,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
+ "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n",
+ before, after, expected);
+ } else {
+- dev_info(pmx->dev,
+- "padgroup %s %s\n",
+- gemini_padgroups[i],
+- enabled ? "enabled" : "disabled");
++ dev_dbg(pmx->dev,
++ "padgroup %s %s\n",
++ gemini_padgroups[i],
++ enabled ? "enabled" : "disabled");
+ }
+ }
+
+@@ -2262,10 +2262,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
+ "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n",
+ before, after, expected);
+ } else {
+- dev_info(pmx->dev,
+- "padgroup %s %s\n",
+- gemini_padgroups[i],
+- enabled ? "enabled" : "disabled");
++ dev_dbg(pmx->dev,
++ "padgroup %s %s\n",
++ gemini_padgroups[i],
++ enabled ? "enabled" : "disabled");
+ }
+ }
+
+@@ -2492,9 +2492,9 @@ static int gemini_pinconf_group_set(struct pinctrl_dev *pctldev,
+ regmap_update_bits(pmx->map, GLOBAL_IODRIVE,
+ grp->driving_mask,
+ val);
+- dev_info(pmx->dev,
+- "set group %s to %d mA drive strength mask %08x val %08x\n",
+- grp->name, arg, grp->driving_mask, val);
++ dev_dbg(pmx->dev,
++ "set group %s to %d mA drive strength mask %08x val %08x\n",
++ grp->name, arg, grp->driving_mask, val);
+ break;
+ default:
+ dev_err(pmx->dev, "invalid config param %04x\n", param);
+@@ -2585,8 +2585,8 @@ static int gemini_pmx_probe(struct platform_device *pdev)
+ /* Print initial state */
+ tmp = val;
+ for_each_set_bit(i, &tmp, PADS_MAXBIT) {
+- dev_info(dev, "pad group %s %s\n", gemini_padgroups[i],
+- (val & BIT(i)) ? "enabled" : "disabled");
++ dev_dbg(dev, "pad group %s %s\n", gemini_padgroups[i],
++ (val & BIT(i)) ? "enabled" : "disabled");
+ }
+
+ /* Check if flash pin is set */
+--
+2.19.2
+