* [PATCH] phy: rk-inno-usb2: Decrease verbosity of repeating log.
@ 2020-03-19 14:08 Christoph Muellner
2020-03-19 14:22 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Muellner @ 2020-03-19 14:08 UTC (permalink / raw)
Cc: Heiko Stuebner, heiko.stuebner, linux-kernel,
Kishon Vijay Abraham I, linux-rockchip, linux-arm-kernel,
Christoph Muellner
phy-rockchip-inno-usb2 logs the message
"phy-ff2c0000.syscon:usb2-phy@100.2: charger = INVALID_CHARGER"
constantly with a frequency of about 1 Hz and a verbosity level
of INFO. As this is clearly annoying, this patch decreases
the log level to DEBUG.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
index 680cc0c8825c..a84e9f027fc4 100644
--- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
+++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
@@ -763,7 +763,7 @@ static void rockchip_chg_detect_work(struct work_struct *work)
/* put the controller in normal mode */
property_enable(base, &rphy->phy_cfg->chg_det.opmode, true);
rockchip_usb2phy_otg_sm_work(&rport->otg_sm_work.work);
- dev_info(&rport->phy->dev, "charger = %s\n",
+ dev_dbg(&rport->phy->dev, "charger = %s\n",
chg_to_string(rphy->chg_type));
return;
default:
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: rk-inno-usb2: Decrease verbosity of repeating log.
2020-03-19 14:08 [PATCH] phy: rk-inno-usb2: Decrease verbosity of repeating log Christoph Muellner
@ 2020-03-19 14:22 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2020-03-19 14:22 UTC (permalink / raw)
To: Christoph Muellner
Cc: linux-rockchip, linux-kernel, linux-arm-kernel, Kishon Vijay Abraham I
Am Donnerstag, 19. März 2020, 15:08:52 CET schrieb Christoph Muellner:
> phy-rockchip-inno-usb2 logs the message
>
> "phy-ff2c0000.syscon:usb2-phy@100.2: charger = INVALID_CHARGER"
>
> constantly with a frequency of about 1 Hz and a verbosity level
> of INFO. As this is clearly annoying, this patch decreases
> the log level to DEBUG.
>
> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
I've noticed these messages in the past as well, but I guess in my short
test-cycles never got annoyed enough to do something about it, but it's
nice to see them go away, so
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-19 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 14:08 [PATCH] phy: rk-inno-usb2: Decrease verbosity of repeating log Christoph Muellner
2020-03-19 14:22 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).