-
由 Rafael J. Wysocki 提交于
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: NRafael J. Wysocki <rjw@sisk.pl> Acked-by: NAndreas Mohr <andi@lisas.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
6905b1f1