Skip to content
Commit eb9c39d0 authored by Jesse Barnes's avatar Jesse Barnes
Browse files

PCI: set device wakeup capable flag if platform support is present



When PCI devices are initialized, we check whether they support PCI PM
caps and set the device can_wakeup flag if so.  However, some devices
may have platform provided wakeup events rather than PCI PME signals, so
we need to set can_wakeup in that case too.  Doing so should allow
wakeups from many more devices, especially on cost constrained systems.

Reported-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Tested-by: default avatarJoseph Chan <JosephChan@via.com.tw>
Acked-by: default avatar"Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 876e501a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment