diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-21 15:38:08 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-01 15:05:02 +0300 |
commit | baecc470d5fd6e2d94eb2a7e242ba291ac7182ac (patch) | |
tree | b1fa6305b2b2f5e35b52c088148785eddd039010 /drivers/acpi/device_pm.c | |
parent | 16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff) | |
download | linux-baecc470d5fd6e2d94eb2a7e242ba291ac7182ac.tar.xz |
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 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions