From 006db603823645302c2f9fa7a5b811dbf740ae08 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 15 Nov 2010 22:45:22 +0100 Subject: [PATCH] --- yaml --- r: 222168 b: refs/heads/master c: 00fafcda1773245a5292f953321ec3f0668c8c28 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/pm_qos_params.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 523acd3378dc..92ba0a763396 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 43e60861fe9d39740cf5b355f58fecedf0d8e9ba +refs/heads/master: 00fafcda1773245a5292f953321ec3f0668c8c28 diff --git a/trunk/kernel/pm_qos_params.c b/trunk/kernel/pm_qos_params.c index c7a8f453919e..aeaa7f846821 100644 --- a/trunk/kernel/pm_qos_params.c +++ b/trunk/kernel/pm_qos_params.c @@ -121,10 +121,10 @@ static inline int pm_qos_get_value(struct pm_qos_object *o) switch (o->type) { case PM_QOS_MIN: - return plist_last(&o->requests)->prio; + return plist_first(&o->requests)->prio; case PM_QOS_MAX: - return plist_first(&o->requests)->prio; + return plist_last(&o->requests)->prio; default: /* runtime check for not using enum */