summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2017-05-23 14:18:17 -0500
committerSasha Levin <alexander.levin@verizon.com>2017-06-25 22:02:20 -0400
commit7f6abe4c05600dae70b4a0037be77b752f57a077 (patch)
tree926a0d791b278e91b563d81640e034d80416d603 /block
parentcd1c4f855f68a251587340f63f3b5e2e38d2c97e (diff)
PCI/PM: Add needs_resume flag to avoid suspend complete optimization
[ Upstream commit 4d071c3238987325b9e50e33051a40d1cce311cc ] 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 Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions