]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM QoS: Add global notification mechanism for device constraints
authorJean Pihet <j-pihet@ti.com>
Thu, 18 Aug 2011 08:37:56 +0000 (10:37 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 18 Aug 2011 08:37:56 +0000 (10:37 +0200)
commit57afcf09649c7f01aa4a8d78b0a7069b2bfc3bb1
tree964e9da6a3947b1ab113e2d1d4f446cb46a97676
parentb6d5b88750dcc9a78caa6ccbe3da32ee6085e60d
PM QoS: Add global notification mechanism for device constraints

Add a global notification chain that gets called upon changes to the
aggregated constraint value for any device.
The notification callbacks are passing the full constraint request data
in order for the callees to have access to it. The current use is for the
platform low-level code to access the target device of the constraint.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/qos.c
include/linux/pm_qos.h
kernel/power/qos.c