summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2012-03-28 23:31:24 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-03-28 23:31:24 +0200
commitc4772d192c70b61d52262b0db76f7abd8aeb51c6 (patch)
tree843ed935b04ed2e2ea8abbafa04f65132f47ba5a /init
parenta36cf844c543c6193445a7b1492d16e5a8cf376e (diff)
downloadlinux-c4772d192c70b61d52262b0db76f7abd8aeb51c6.tar.gz
PM / QoS: add pm_qos_update_request_timeout() API
The new API, pm_qos_update_request_timeout() is to provide a timeout
with pm_qos_update_request.

For example, pm_qos_update_request_timeout(req, 100, 1000), means that
QoS request on req with value 100 will be active for 1000 microseconds.
After 1000 microseconds, the QoS request thru req is reset. If there
were another pm_qos_update_request(req, x) during the 1000 us, this
new request with value x will override as this is another request on the
same req handle. A new request on the same req handle will always
override the previous request whether it is the conventional request or
it is the new timeout request.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Gross <markgross@thegnar.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions