diff mbox series

pinctrl: ti: iodelay: Lower the priority of prints

Message ID 1547540459-14548-1-git-send-email-t-kristo@ti.com (mailing list archive)
State New, archived
Headers show
Series pinctrl: ti: iodelay: Lower the priority of prints | expand

Commit Message

Tero Kristo Jan. 15, 2019, 8:20 a.m. UTC
From: Nishanth Menon <nm@ti.com>

Dont print every single iodelay register configuration - this is just
plain noise. Since this is useful debug information, just lower to debug

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Tony Lindgren Jan. 15, 2019, 2:29 p.m. UTC | #1
* Tero Kristo <t-kristo@ti.com> [190115 08:21]:
> From: Nishanth Menon <nm@ti.com>
> 
> Dont print every single iodelay register configuration - this is just
> plain noise. Since this is useful debug information, just lower to debug

Acked-by: Tony Lindgren <tony@atomide.com>
Linus Walleij Jan. 21, 2019, 1:39 p.m. UTC | #2
On Tue, Jan 15, 2019 at 9:21 AM Tero Kristo <t-kristo@ti.com> wrote:

> From: Nishanth Menon <nm@ti.com>
>
> Dont print every single iodelay register configuration - this is just
> plain noise. Since this is useful debug information, just lower to debug
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>

Patch applied with Tony's ACK.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/ti/pinctrl-ti-iodelay.c b/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
index 92d18c6..7035ed4 100644
--- a/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
+++ b/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
@@ -263,9 +263,9 @@  static int ti_iodelay_pinconf_set(struct ti_iodelay_device *iod,
 	reg_val |= reg->unlock_val << __ffs(reg->lock_mask);
 	r = regmap_update_bits(iod->regmap, cfg->offset, reg_mask, reg_val);
 
-	dev_info(dev, "Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n",
-		 cfg->offset, cfg->a_delay, cfg->g_delay, c_elements,
-		 f_elements, reg_val);
+	dev_dbg(dev, "Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n",
+		cfg->offset, cfg->a_delay, cfg->g_delay, c_elements,
+		f_elements, reg_val);
 
 	return r;
 }