Re: [PATCH] Net / e100: Fix suspend of devices that cannot bepower managed

From: David Miller
Date: Wed Jun 17 2009 - 22:03:50 EST


From: "Rafael J. Wysocki" <rjw@xxxxxxx>
Date: Sun, 14 Jun 2009 21:46:46 +0200

> From: Rafael J. Wysocki <rjw@xxxxxxx>
>
> 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 <rjw@xxxxxxx>
> Acked-by: Andreas Mohr <andi@xxxxxxxx>

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/