Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222168
b: refs/heads/master
c: 00fafcd
h: refs/heads/master
v: v3
  • Loading branch information
Colin Cross authored and Rafael J. Wysocki committed Nov 15, 2010
1 parent da05d62 commit 006db60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43e60861fe9d39740cf5b355f58fecedf0d8e9ba
refs/heads/master: 00fafcda1773245a5292f953321ec3f0668c8c28
4 changes: 2 additions & 2 deletions trunk/kernel/pm_qos_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 006db60

Please sign in to comment.