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

From: David Brownell
Date: Tue Dec 13 2005 - 01:52:06 EST


>
> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/