diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-07 20:00:59 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-11 19:11:44 (GMT) |
commit | b723b0eb91e08a0ee9a401c0b22c0d52966d9daa (patch) | |
tree | 5730adb87db4c0d8cabec414495a401bcb421cec /drivers/base/regmap | |
parent | 4fcac10d28e7a046120b51a106b19082d2e57401 (diff) | |
download | linux-fsl-qoriq-b723b0eb91e08a0ee9a401c0b22c0d52966d9daa.tar.xz |
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 'drivers/base/regmap')
0 files changed, 0 insertions, 0 deletions