Commit 47c3e5d8 authored by Grazvydas Ignotas's avatar Grazvydas Ignotas Committed by Kevin Hilman

OMAP: omap_device: make latency autoadjust messages debug

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: default avatarSteve Sakoman <steve@sakoman.com>
Signed-off-by: default avatarGrazvydas Ignotas <notasas@gmail.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 49882c99
...@@ -146,7 +146,7 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat) ...@@ -146,7 +146,7 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat)
odpl->activate_lat_worst = act_lat; odpl->activate_lat_worst = act_lat;
if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
odpl->activate_lat = act_lat; odpl->activate_lat = act_lat;
dev_warn(&od->pdev.dev, dev_dbg(&od->pdev.dev,
"new worst case activate latency " "new worst case activate latency "
"%d: %llu\n", "%d: %llu\n",
od->pm_lat_level, act_lat); od->pm_lat_level, act_lat);
...@@ -213,7 +213,7 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat) ...@@ -213,7 +213,7 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat)
odpl->deactivate_lat_worst = deact_lat; odpl->deactivate_lat_worst = deact_lat;
if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
odpl->deactivate_lat = deact_lat; odpl->deactivate_lat = deact_lat;
dev_warn(&od->pdev.dev, dev_dbg(&od->pdev.dev,
"new worst case deactivate latency " "new worst case deactivate latency "
"%d: %llu\n", "%d: %llu\n",
od->pm_lat_level, deact_lat); od->pm_lat_level, deact_lat);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment