From: Philipp Zabel
Date: Thu, 27 Feb 2014 18:26:44 +0000 (+0100)
Subject: PM / domains: Turn latency warning into debug message
X-Git-Tag: MMI-PSA29.97-13-9~12483^2~9^3
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7d1af287320b41909c070f68ffe1591060a32769;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git
PM / domains: Turn latency warning into debug message
If devices don't provide latency data, this warning can be quite noisy until
the pm domain was enabled and disabled a few times. Turn this warning into
a debug message.
Signed-off-by: Philipp Zabel
Reviewed-by: Ulf Hansson
Acked-by: Pavel Machek
Signed-off-by: Rafael J. Wysocki
---
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index bfb8955c406c..dc127e5dec4b 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -42,7 +42,7 @@
struct gpd_timing_data *__td = &dev_gpd_data(dev)->td; \
if (!__retval && __elapsed > __td->field) { \
__td->field = __elapsed; \
- dev_warn(dev, name " latency exceeded, new value %lld ns\n", \
+ dev_dbg(dev, name " latency exceeded, new value %lld ns\n", \
__elapsed); \
genpd->max_off_time_changed = true; \
__td->constraint_changed = true; \