projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14dfad
)
[COMMON] pm_qos: send PM_QoS class at QoS notify callchain
author
Park Bumgyu
<bumgyu.park@samsung.com>
Wed, 17 Jan 2018 04:40:26 +0000
(13:40 +0900)
committer
Chungwoo Park
<cww.park@samsung.com>
Mon, 21 May 2018 08:37:31 +0000
(17:37 +0900)
Change-Id: I7a839a6dfe8c1650eb92a7f6728b445b05b3952b
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/power/qos.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/power/qos.c
b/kernel/power/qos.c
index 23b17cf961b524ca6f84acc0483621413443c144..73392803123fd6020af3bcb55831c71df4763af2 100644
(file)
--- a/
kernel/power/qos.c
+++ b/
kernel/power/qos.c
@@
-710,11
+710,13
@@
int pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node,
}
if (prev_value != curr_value) {
+ struct pm_qos_request *req = container_of(node, struct pm_qos_request, node);
+
ret = 1;
if (c->notifiers)
blocking_notifier_call_chain(c->notifiers,
(unsigned long)curr_value,
-
NULL
);
+
(void *)&req->pm_qos_class
);
} else {
ret = 0;
}