diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2011-07-25 09:18:24 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 19:35:45 -0400 |
commit | 47c3e5d8060406d8b3be1b4db91e2543673dd225 (patch) | |
tree | 88609f1eff4b206ecb53132e0198d15d7a7112cc /arch/arm/plat-omap/omap_device.c | |
parent | 49882c99401fa2777157908479169accf039cab7 (diff) |
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: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/omap_device.c')
-rw-r--r-- | arch/arm/plat-omap/omap_device.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index 334bfd27f530..142bbd8fa3b2 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c | |||
@@ -146,10 +146,10 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat) | |||
146 | odpl->activate_lat_worst = act_lat; | 146 | odpl->activate_lat_worst = act_lat; |
147 | if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { | 147 | if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { |
148 | odpl->activate_lat = act_lat; | 148 | odpl->activate_lat = act_lat; |
149 | dev_warn(&od->pdev.dev, | 149 | dev_dbg(&od->pdev.dev, |
150 | "new worst case activate latency " | 150 | "new worst case activate latency " |
151 | "%d: %llu\n", | 151 | "%d: %llu\n", |
152 | od->pm_lat_level, act_lat); | 152 | od->pm_lat_level, act_lat); |
153 | } else | 153 | } else |
154 | dev_warn(&od->pdev.dev, | 154 | dev_warn(&od->pdev.dev, |
155 | "activate latency %d " | 155 | "activate latency %d " |
@@ -213,10 +213,10 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat) | |||
213 | odpl->deactivate_lat_worst = deact_lat; | 213 | odpl->deactivate_lat_worst = deact_lat; |
214 | if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { | 214 | if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) { |
215 | odpl->deactivate_lat = deact_lat; | 215 | odpl->deactivate_lat = deact_lat; |
216 | dev_warn(&od->pdev.dev, | 216 | dev_dbg(&od->pdev.dev, |
217 | "new worst case deactivate latency " | 217 | "new worst case deactivate latency " |
218 | "%d: %llu\n", | 218 | "%d: %llu\n", |
219 | od->pm_lat_level, deact_lat); | 219 | od->pm_lat_level, deact_lat); |
220 | } else | 220 | } else |
221 | dev_warn(&od->pdev.dev, | 221 | dev_warn(&od->pdev.dev, |
222 | "deactivate latency %d " | 222 | "deactivate latency %d " |