From: Alan Stern Date: Tue, 16 Dec 2008 19:06:58 +0000 (-0500) Subject: PCI: fix incorrect error return in pci_enable_wake X-Git-Tag: v2.6.29-rc1~181^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bebd590ca27e80ffe3129ab4f0a3124f0a340f43;p=pandora-kernel.git 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 Acked-by: Rafael J. Wysocki Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed