PM / domains: Turn latency warning into debug message
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 27 Feb 2014 18:26:44 +0000 (19:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Feb 2014 23:43:10 +0000 (00:43 +0100)
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 <p.zabel@pengutronix.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c

index bfb8955c406c5ef02d819d4d5fa02d709f0a6ec0..dc127e5dec4b5371e65048f9923e80d24d7a85b0 100644 (file)
@@ -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;                                \