Re: [PATCH] Net / e100: Fix suspend of devices that cannot be power managed
From: David Miller <davem@davemloft.net>
Date: 2009-06-18 02:03:46
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2009-06-18 02:03:46
Also in:
lkml
From: "Rafael J. Wysocki" <redacted> Date: Sun, 14 Jun 2009 21:46:46 +0200
From: Rafael J. Wysocki <redacted> 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 <redacted> Acked-by: Andreas Mohr <redacted>
Applied, thanks!