From: Rafael J. Wysocki Date: Sun, 14 Jun 2009 09:46:46 +0000 (+0000) Subject: Net / e100: Fix suspend of devices that cannot be power managed X-Git-Tag: v2.6.31-rc1~140^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6905b1f1a03a48dcf115a2927f7b87dba8d5e566;p=pandora-kernel.git Net / e100: Fix suspend of devices that cannot be power managed If the adapter is not power-manageable using either ACPI, or the native PCI PM interface, __e100_power_off() returns error code, which causes every attempt to suspend to fail, although it should return 0 in such a case. Fix this problem by ignoring the return value of pci_set_power_state() in __e100_power_off(). Signed-off-by: Rafael J. Wysocki Acked-by: Andreas Mohr Signed-off-by: David S. Miller --- Reading git-diff-tree failed