projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e6086
)
PM / PM QoS: Fix reversed min and max
author
Colin Cross
<
[email protected]
>
Mon, 15 Nov 2010 21:45:22 +0000
(22:45 +0100)
committer
Rafael J. Wysocki
<
[email protected]
>
Mon, 15 Nov 2010 21:45:22 +0000
(22:45 +0100)
pm_qos_get_value had min and max reversed, causing all pm_qos
requests to have no effect.
Signed-off-by: Colin Cross <
[email protected]
>
Acked-by: mark <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
Cc:
[email protected]
kernel/pm_qos_params.c
patch
|
blob
|
history
diff --git
a/kernel/pm_qos_params.c
b/kernel/pm_qos_params.c
index c7a8f453919e65a42e0251b968a2d3652e0a4c3a..aeaa7f8468216eb1d8795b14ff74cfc502318771 100644
(file)
--- a/
kernel/pm_qos_params.c
+++ b/
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_
la
st(&o->requests)->prio;
+ return plist_
fir
st(&o->requests)->prio;
case PM_QOS_MAX:
- return plist_
fir
st(&o->requests)->prio;
+ return plist_
la
st(&o->requests)->prio;
default:
/* runtime check for not using enum */