diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-30 02:44:29 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-10-14 02:17:06 +0200 |
commit | c2df86ea924a8548f54ce90e46fdd6c9495119b2 (patch) | |
tree | f2e82708b771820f450bf23e2055acc6fcc4318e /kernel | |
parent | a5e22db2689dc717cc3aaeb0c92c3f5445c5ea1f (diff) | |
download | op-kernel-dev-c2df86ea924a8548f54ce90e46fdd6c9495119b2.zip op-kernel-dev-c2df86ea924a8548f54ce90e46fdd6c9495119b2.tar.gz |
PM / sleep: Drop pm_request_idle() from pm_generic_complete()
The pm_request_idle() in pm_generic_complete() is pointless as it is
called with the runtime PM usage counter different from zero (bumped
up by the core during the prepare phase of system suspend) and the
core calls pm_runtime_put() for all devices after executing their
complete callbacks, so drop it.
This allows the PCI PM layer to use pm_generic_complete() too.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions