Commit dab6558f authored by Linus Walleij's avatar Linus Walleij

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d17f477c
...@@ -2179,9 +2179,9 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, ...@@ -2179,9 +2179,9 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
return -ENODEV; return -ENODEV;
} }
dev_info(pmx->dev, dev_dbg(pmx->dev,
"ACTIVATE function \"%s\" with group \"%s\"\n", "ACTIVATE function \"%s\" with group \"%s\"\n",
func->name, grp->name); func->name, grp->name);
regmap_read(pmx->map, GLOBAL_MISC_CTRL, &before); regmap_read(pmx->map, GLOBAL_MISC_CTRL, &before);
regmap_update_bits(pmx->map, GLOBAL_MISC_CTRL, regmap_update_bits(pmx->map, GLOBAL_MISC_CTRL,
...@@ -2212,10 +2212,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, ...@@ -2212,10 +2212,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
"GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n", "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n",
before, after, expected); before, after, expected);
} else { } else {
dev_info(pmx->dev, dev_dbg(pmx->dev,
"padgroup %s %s\n", "padgroup %s %s\n",
gemini_padgroups[i], gemini_padgroups[i],
enabled ? "enabled" : "disabled"); enabled ? "enabled" : "disabled");
} }
} }
...@@ -2234,10 +2234,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, ...@@ -2234,10 +2234,10 @@ static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev,
"GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n", "GLOBAL MISC CTRL before: %08x, after %08x, expected %08x\n",
before, after, expected); before, after, expected);
} else { } else {
dev_info(pmx->dev, dev_dbg(pmx->dev,
"padgroup %s %s\n", "padgroup %s %s\n",
gemini_padgroups[i], gemini_padgroups[i],
enabled ? "enabled" : "disabled"); enabled ? "enabled" : "disabled");
} }
} }
...@@ -2464,9 +2464,9 @@ static int gemini_pinconf_group_set(struct pinctrl_dev *pctldev, ...@@ -2464,9 +2464,9 @@ static int gemini_pinconf_group_set(struct pinctrl_dev *pctldev,
regmap_update_bits(pmx->map, GLOBAL_IODRIVE, regmap_update_bits(pmx->map, GLOBAL_IODRIVE,
grp->driving_mask, grp->driving_mask,
val); val);
dev_info(pmx->dev, dev_dbg(pmx->dev,
"set group %s to %d mA drive strength mask %08x val %08x\n", "set group %s to %d mA drive strength mask %08x val %08x\n",
grp->name, arg, grp->driving_mask, val); grp->name, arg, grp->driving_mask, val);
break; break;
default: default:
dev_err(pmx->dev, "invalid config param %04x\n", param); dev_err(pmx->dev, "invalid config param %04x\n", param);
...@@ -2557,8 +2557,8 @@ static int gemini_pmx_probe(struct platform_device *pdev) ...@@ -2557,8 +2557,8 @@ static int gemini_pmx_probe(struct platform_device *pdev)
/* Print initial state */ /* Print initial state */
tmp = val; tmp = val;
for_each_set_bit(i, &tmp, PADS_MAXBIT) { for_each_set_bit(i, &tmp, PADS_MAXBIT) {
dev_info(dev, "pad group %s %s\n", gemini_padgroups[i], dev_dbg(dev, "pad group %s %s\n", gemini_padgroups[i],
(val & BIT(i)) ? "enabled" : "disabled"); (val & BIT(i)) ? "enabled" : "disabled");
} }
/* Check if flash pin is set */ /* Check if flash pin is set */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment