Messages in this thread | | | From | Frans Pop <> | Subject | Re: [patch,rfc] usb: restore config before enabling device on resume | Date | Sat, 6 Dec 2008 16:02:23 +0100 |
| |
On Saturday 06 December 2008, Rafael J. Wysocki wrote: > In fact, I think you could even move the pci_restore_state(dev) into > usb_hcd_pci_resume_early() that would be executed with interrupts off > and drop the pci_set_power_state(dev, PCI_D0); entirely (the > pci_enable_device(dev); would invoke it anyway).
There is quite a lot going on in the resume function that happens before pci_restore_state is called and I'm absolutely not confident with messing with that, so I'll leave anything more invasive to the USB maintainers.
Cheers, FJP
| |