diff options
author | Imre Deak <imre.deak@intel.com> | 2017-05-23 22:18:17 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-05-23 22:18:17 +0300 |
commit | 4d071c3238987325b9e50e33051a40d1cce311cc (patch) | |
tree | a35e74ea39923f868bbcfd051c03f1868df8eeb2 /usr | |
parent | 415b6185c541dc0a21457ff307cdb61950a6eb9f (diff) | |
download | linux-4d071c3238987325b9e50e33051a40d1cce311cc.tar.xz |
PCI/PM: Add needs_resume flag to avoid suspend complete optimization
Some drivers - like i915 - may not support the system suspend direct
complete optimization due to differences in their runtime and system
suspend sequence. Add a flag that when set resumes the device before
calling the driver's system suspend handlers which effectively disables
the optimization.
Needed by a future patch fixing suspend/resume on i915.
Suggested by Rafael.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions