diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-12-16 14:06:58 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 11:12:56 -0800 |
commit | bebd590ca27e80ffe3129ab4f0a3124f0a340f43 (patch) | |
tree | 6b303ff88ede1dbd4e4ce0520e0fedd350127d7e /include/linux/pci.h | |
parent | f0e88af855cbc5012f2e796f42686969b82d79d4 (diff) | |
download | talos-obmc-linux-bebd590ca27e80ffe3129ab4f0a3124f0a340f43.tar.gz talos-obmc-linux-bebd590ca27e80ffe3129ab4f0a3124f0a340f43.zip |
PCI: fix incorrect error return in pci_enable_wake
This patch (as1186) fixes a minor mistake in pci_enable_wake(). When
the routine is asked to disable remote wakeup, it should not return an
error merely because the device is not allowed to do wakeups!
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions