]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-3.0/sakoman/0002-omap-Change-omap_device-activate-dectivate-latency-m.patch
linux 3.0: add more sakoman patches, refresh others
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / sakoman / 0002-omap-Change-omap_device-activate-dectivate-latency-m.patch
1 From 40c21c7e36317d30c3a5e056ad088886452402ba Mon Sep 17 00:00:00 2001
2 From: Steve Sakoman <steve@sakoman.com>
3 Date: Mon, 23 May 2011 12:16:50 -0700
4 Subject: [PATCH 02/13] omap: Change omap_device activate/dectivate latency messages from pr_warning to pr_debug
6 Messages can be safely ignored, so reduce console noise
8 Signed-off-by: Steve Sakoman <steve@sakoman.com>
9 ---
10  arch/arm/plat-omap/omap_device.c |    8 ++++----
11  1 files changed, 4 insertions(+), 4 deletions(-)
13 diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c
14 index be45147..e3d9520 100644
15 --- a/arch/arm/plat-omap/omap_device.c
16 +++ b/arch/arm/plat-omap/omap_device.c
17 @@ -146,12 +146,12 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat)
18                         odpl->activate_lat_worst = act_lat;
19                         if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
20                                 odpl->activate_lat = act_lat;
21 -                               pr_warning("omap_device: %s.%d: new worst case "
22 +                               pr_debug("omap_device: %s.%d: new worst case "
23                                            "activate latency %d: %llu\n",
24                                            od->pdev.name, od->pdev.id,
25                                            od->pm_lat_level, act_lat);
26                         } else
27 -                               pr_warning("omap_device: %s.%d: activate "
28 +                               pr_debug("omap_device: %s.%d: activate "
29                                            "latency %d higher than exptected. "
30                                            "(%llu > %d)\n",
31                                            od->pdev.name, od->pdev.id,
32 @@ -214,12 +214,12 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat)
33                         odpl->deactivate_lat_worst = deact_lat;
34                         if (odpl->flags & OMAP_DEVICE_LATENCY_AUTO_ADJUST) {
35                                 odpl->deactivate_lat = deact_lat;
36 -                               pr_warning("omap_device: %s.%d: new worst case "
37 +                               pr_debug("omap_device: %s.%d: new worst case "
38                                            "deactivate latency %d: %llu\n",
39                                            od->pdev.name, od->pdev.id,
40                                            od->pm_lat_level, deact_lat);
41                         } else
42 -                               pr_warning("omap_device: %s.%d: deactivate "
43 +                               pr_debug("omap_device: %s.%d: deactivate "
44                                            "latency %d higher than exptected. "
45                                            "(%llu > %d)\n",
46                                            od->pdev.name, od->pdev.id,
47 -- 
48 1.6.6.1