Rafael J. Wysocki
666ff6f83e
PCI/PM: Avoid using device_may_wakeup() for runtime PM
...
pci_target_state() calls device_may_wakeup() which checks whether or not
the device may wake up the system from sleep states, but pci_target_state()
is used for runtime PM too.
Since runtime PM is expected to always enable remote wakeup if possible,
modify pci_target_state() to take additional argument indicating whether or
not it should look for a state from which the device can signal wakeup and
pass either the return value of device_can_wakeup(), or "false" (if the
device itself is not wakeup-capable) to it from the code related to runtime
PM.
While at it, fix the comment in pci_dev_run_wake() which is not about sleep
states.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com >
2017-06-30 11:15:12 -05:00
..
2017-05-10 09:35:42 -07:00
2017-05-09 10:01:15 -07:00
2017-05-10 09:12:30 -07:00
2017-05-10 11:33:08 -07:00
2017-04-30 12:22:14 +02:00
2017-04-20 12:16:10 -06:00
2017-05-10 19:13:03 -07:00
2017-05-10 13:38:18 -07:00
2017-05-12 10:43:25 -07:00
2017-05-12 09:56:30 -07:00
2017-05-09 23:21:46 +02:00
2017-05-10 11:33:08 -07:00
2017-05-12 15:43:10 -07:00
2017-05-09 15:40:28 -07:00
2017-04-20 13:47:46 +05:30
2017-04-27 14:15:38 +02:00
2017-05-09 10:01:15 -07:00
2017-04-26 11:38:56 +02:00
2017-05-10 19:13:03 -07:00
2017-06-30 11:15:07 -05:00
2017-05-02 19:09:35 -07:00
2017-04-21 17:58:45 +02:00
2017-05-04 19:15:35 -07:00
2017-04-30 11:45:31 -07:00
2017-05-08 17:15:14 -07:00
2017-05-10 19:13:03 -07:00
2017-05-08 17:36:39 -04:00
2017-05-01 23:17:37 +02:00
2017-05-10 19:13:03 -07:00
2017-05-12 11:44:13 -07:00
2017-05-13 10:25:05 -07:00
2017-05-09 15:15:47 -07:00
2017-05-12 09:56:30 -07:00
2017-05-10 19:13:03 -07:00
2017-05-08 17:15:13 -07:00
2017-05-04 07:53:04 -06:00
2017-05-05 19:33:07 -07:00
2017-04-27 16:20:04 +05:30
2017-05-08 17:15:13 -07:00
2017-05-10 19:13:03 -07:00
2017-05-11 10:44:22 -07:00
2017-04-24 18:21:17 -04:00
2017-04-27 11:54:49 +01:00
2017-05-10 19:13:03 -07:00
2017-05-10 19:13:03 -07:00
2017-05-13 10:23:12 -07:00
2017-05-12 10:04:09 -07:00
2017-04-17 00:42:22 +02:00
2017-04-20 09:54:24 +02:00
2017-05-12 15:43:10 -07:00
2017-05-11 11:01:56 -07:00
2017-05-09 10:01:15 -07:00
2017-05-12 10:04:09 -07:00
2017-04-20 12:02:32 +01:00
2017-06-30 11:15:12 -05:00
2017-05-10 19:13:03 -07:00
2017-05-02 19:09:35 -07:00
2017-05-04 19:15:35 -07:00
2017-05-12 12:02:21 -07:00
2017-04-28 23:56:16 +02:00
2017-05-01 16:15:18 -07:00
2017-04-13 17:41:50 +02:00
2017-05-04 19:15:35 -07:00
2017-04-30 22:17:44 +09:00
2017-05-10 11:33:08 -07:00
2017-05-09 10:01:15 -07:00
2017-05-10 11:33:08 -07:00
2017-05-10 19:37:14 -07:00
2017-05-10 11:33:08 -07:00
2017-05-12 11:44:13 -07:00
2017-05-12 10:04:09 -07:00
2017-04-26 15:58:22 +01:00
2017-05-10 19:13:03 -07:00
2017-05-12 11:44:13 -07:00
2017-05-10 11:20:09 -07:00
2017-05-12 11:58:45 -07:00
2017-05-10 19:13:03 -07:00
2017-05-05 19:33:07 -07:00
2017-05-05 11:36:44 -07:00
2017-05-08 17:15:12 -07:00
2017-05-11 11:12:26 -07:00
2017-05-08 17:15:10 -07:00
2017-05-02 23:41:43 +03:00
2017-05-10 19:13:03 -07:00
2017-05-09 09:12:53 -07:00
2017-05-10 11:20:09 -07:00