Re: [patch,rfc] usb: restore config before enabling device on resume

From: Frans Pop
Date: Sat Dec 06 2008 - 10:02:40 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at