summaryrefslogtreecommitdiff
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-05-07 22:00:59 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-11 21:11:44 +0200
commitb723b0eb91e08a0ee9a401c0b22c0d52966d9daa (patch)
tree5730adb87db4c0d8cabec414495a401bcb421cec /include/linux/pm_domain.h
parent4fcac10d28e7a046120b51a106b19082d2e57401 (diff)
PM / Domains: Fix computation of maximum domain off time
The default domain power off governor function for generic PM domains, default_power_down_ok(), may violate subdomain maximum off time limit by allowing the master domain to be off for too long. Namely, it only finds the minium of all device maximum off times over the domain's devices and uses that to compute the domain's maximum off time, but it should do the same for the subdomains. Fix this problem by modifying default_power_down_ok() to compute the given domain's maximum off time as the difference between the minimum off time over all devices and subdomains in the domain and its power on latency. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions