OMAP: omap_device: make latency autoadjust messages debug
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 Jul 2011 13:18:24 +0000 (16:18 +0300)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 23:35:45 +0000 (16:35 -0700)
During normal system operation warning messages similar to this
are appearing quite often:
omap_device: omap4-keypad.-1: new worst case activate latency 0: 61035

This doesn't seem to be reporting a problem, nor is it very useful for
non-developers, so reduce it to debug level.

Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c

index 334bfd27f5301618617a03cc5b64e7fa6a2f1a7f..142bbd8fa3b29d472345860ebcc9037c8a9e7731 100644 (file)
@@ -146,10 +146,10 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat)
                        odpl->activate_lat_worst = act_lat;
                        if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
                                odpl->activate_lat = act_lat;
-                               dev_warn(&od->pdev.dev,
-                                        "new worst case activate latency "
-                                        "%d: %llu\n",
-                                        od->pm_lat_level, act_lat);
+                               dev_dbg(&od->pdev.dev,
+                                       "new worst case activate latency "
+                                       "%d: %llu\n",
+                                       od->pm_lat_level, act_lat);
                        } else
                                dev_warn(&od->pdev.dev,
                                         "activate latency %d "
@@ -213,10 +213,10 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat)
                        odpl->deactivate_lat_worst = deact_lat;
                        if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
                                odpl->deactivate_lat = deact_lat;
-                               dev_warn(&od->pdev.dev,
-                                        "new worst case deactivate latency "
-                                        "%d: %llu\n",
-                                        od->pm_lat_level, deact_lat);
+                               dev_dbg(&od->pdev.dev,
+                                       "new worst case deactivate latency "
+                                       "%d: %llu\n",
+                                       od->pm_lat_level, deact_lat);
                        } else
                                dev_warn(&od->pdev.dev,
                                         "deactivate latency %d "