Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

David Brownell
2005-12-13T06:52:56Z

>
> if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) {

What happens if you make that line read

if ((status & STS_PCD) != 0) {

and ignore the root hub thing? There's some confusion about when the root
hub becomes available ... it should be done a lot earlier than it is now,
like before any HCD code may need to rely on it.

- Dave