diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2015-09-29 15:12:37 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-10-12 23:19:55 +0200 |
commit | f96b3c4f34b294a2293a5aa1d55e12e66aee055d (patch) | |
tree | 8d47b988d288d30c437d1ff7ca9ffdcfef2aa042 /.mailmap | |
parent | 1462206cbccebf2b61e05cf786d458afe49d5509 (diff) | |
download | op-kernel-dev-f96b3c4f34b294a2293a5aa1d55e12e66aee055d.zip op-kernel-dev-f96b3c4f34b294a2293a5aa1d55e12e66aee055d.tar.gz |
PM / Domains: Remove in_progress counter from struct generic_pm_domain
Commit ba2bbfbf6307 ("PM / Domains: Remove intermediate states..") changed
the power off sequence (pm_genpd_poweroff()), which from locking point of
view means the genpd mutex is held throughout the sequence.
The above change means the in_progress counter can't be updated while
pm_genpd_poweroff() is executing, which allows us to remove the counter.
Instead we inform pm_genpd_poweroff() via a bool parameter, to indicate
whether we call it from the scheduled work or from the ->runtime_suspend()
callback, since that all that matters.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions