Re: [PATCH] ACPI/PCI: PM: Add missing wakeup.flags.valid checks

2019-05-27 Thread Rafael J. Wysocki
On Thursday, May 16, 2019 12:42:20 PM CEST Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Both acpi_pci_need_resume() and acpi_dev_needs_resume() check if the > current ACPI wakeup configuration of the device matches what is > expected as far as system wakeup from sleep states is

Re: [PATCH] ACPI/PCI: PM: Add missing wakeup.flags.valid checks

2019-05-17 Thread Mika Westerberg
On Thu, May 16, 2019 at 12:42:20PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Both acpi_pci_need_resume() and acpi_dev_needs_resume() check if the > current ACPI wakeup configuration of the device matches what is > expected as far as system wakeup from sleep states is

[PATCH] ACPI/PCI: PM: Add missing wakeup.flags.valid checks

2019-05-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Both acpi_pci_need_resume() and acpi_dev_needs_resume() check if the current ACPI wakeup configuration of the device matches what is expected as far as system wakeup from sleep states is concerned, as reflected by the device_may_wakeup() return value for the device.