From: Jesse Barnes Date: Wed, 17 Dec 2008 20:10:05 +0000 (-0800) Subject: PCI: set device wakeup capable flag if platform support is present X-Git-Tag: v2.6.29-rc1~181^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb9c39d031bbcfd4005bd7e0337c3fd3909c1bf7;p=pandora-kernel.git 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: Alan Stern Tested-by: Joseph Chan Acked-by: "Rafael J. Wysocki" Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed