diff options
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index d36f41ea8cbf..cd3c4f1cdf1b 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -46,6 +46,9 @@ static void pci_acpi_wake_dev(acpi_handle handle, u32 event, void *context) | |||
46 | struct pci_dev *pci_dev = context; | 46 | struct pci_dev *pci_dev = context; |
47 | 47 | ||
48 | if (event == ACPI_NOTIFY_DEVICE_WAKE && pci_dev) { | 48 | if (event == ACPI_NOTIFY_DEVICE_WAKE && pci_dev) { |
49 | if (pci_dev->pme_poll) | ||
50 | pci_dev->pme_poll = false; | ||
51 | |||
49 | pci_wakeup_event(pci_dev); | 52 | pci_wakeup_event(pci_dev); |
50 | pci_check_pme_status(pci_dev); | 53 | pci_check_pme_status(pci_dev); |
51 | pm_runtime_resume(&pci_dev->dev); | 54 | pm_runtime_resume(&pci_dev->dev); |