diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-21 14:38:08 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-01 14:05:02 +0200 |
commit | baecc470d5fd6e2d94eb2a7e242ba291ac7182ac (patch) | |
tree | b1fa6305b2b2f5e35b52c088148785eddd039010 /include/acpi/acpi_bus.h | |
parent | Linux 4.13-rc3 (diff) | |
download | linux-baecc470d5fd6e2d94eb2a7e242ba291ac7182ac.tar.xz linux-baecc470d5fd6e2d94eb2a7e242ba291ac7182ac.zip |
PCI / PM: Skip bridges in pci_enable_wake()
PCI bridges only have a reason to generate wakeup signals on behalf
of devices below them, so avoid preparing bridges for wakeup directly
in pci_enable_wake().
Also drop the pci_has_subordinate() check from pci_pm_default_resume()
as this will be done by pci_enable_wake() itself now.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
0 files changed, 0 insertions, 0 deletions