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 */