Skip to content
Commit 55111428 authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: fw-ohci: ignore failure of pci_set_power_state (fix suspend regression)



Fixes (papers over) "Sleep problems with kernels >= 2.6.21 on powerpc",
http://lkml.org/lkml/2007/8/25/155.  The issue is that the FireWire
controller's pci_dev.current_state of iBook G3 and presumably older
PowerBooks is still in PCI_UNKNOWN instead of PCI_D0 when the firewire
driver's .suspend method is called.

Like it was suggested earlier in http://lkml.org/lkml/2006/10/24/13, we
do not fail .suspend anymore if pci_set_power_state failed.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent b21010ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment