Thread (4 messages) 4 messages, 3 authors, 2011-07-22
DORMANTno replies

[PATCH] OMAP: omap_device: replace pr_* prints with dev_*

From: Grazvydas Ignotas <hidden>
Date: 2011-07-22 13:15:27
Also in: linux-omap

On Thu, Jul 21, 2011 at 8:39 PM, Kevin Hilman [off-list ref] wrote:
? ? ? ? ? ? ? ?if (act_lat > odpl->activate_lat) {
? ? ? ? ? ? ? ? ? ? ? ?odpl->activate_lat_worst = act_lat;
? ? ? ? ? ? ? ? ? ? ? ?if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?odpl->activate_lat = act_lat;
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? pr_warning("omap_device: %s.%d: new worst case "
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?"activate latency %d: %llu\n",
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?od->pdev.name, od->pdev.id,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?od->pm_lat_level, act_lat);
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? dev_warn(&od->pdev.dev,
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?"new worst case activate latency "
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?"%d: %llu\n",
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?od->pm_lat_level, act_lat);
I wonder why these have to be warnings, I get quite a lot of them and
find them rather annoying. Or is my hardware broken or something?

I know other people are disabling this in their trees too:
http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=145cf9a7d4ba7c260df7071a28ef40c6a481b6df




-- 
Gra?vydas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help