From 4e003928448a0b248e99c33a5e4fc83d2cc2f1e5 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 27 Feb 2014 19:26:44 +0100
Subject: 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
(cherry picked from commit 7d1af287320b41909c070f68ffe1591060a32769)
---
drivers/base/power/domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'drivers/base')
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 5ab3d9e1409e..c843a20c40e3 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -43,7 +43,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; \
--
cgit v1.2.3