diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-06-14 11:46:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-18 09:29:10 +0200 |
commit | 6905b1f1a03a48dcf115a2927f7b87dba8d5e566 (patch) | |
tree | ef1a52ca05bf55e5b1e55bd3502b1f7295ac9bf1 /net/bluetooth | |
parent | TI DaVinci EMAC : Fix rmmod error (diff) | |
download | linux-6905b1f1a03a48dcf115a2927f7b87dba8d5e566.tar.xz linux-6905b1f1a03a48dcf115a2927f7b87dba8d5e566.zip |
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 <rjw@sisk.pl>
Acked-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions