On Mon, 3 Jan 2011, Sarah Sharp wrote: > On Fri, Dec 31, 2010 at 10:32:37PM -0500, Alan Stern wrote: > > On Thu, 30 Dec 2010, Sarah Sharp wrote: > > > > > Return early in the roothub control and status functions if the xHCI host > > > controller is not electrically present in the system (register reads > > > return all "fs"). This issue only shows up when the xHCI driver registers > > > two roothubs and the host controller is removed from the system. > > > > Do you really think it's necessary to test in all these different > > places? I would think that a single test in the interrupt routine > > would be sufficient. > > I thought so too. The xHCI driver does test in the interrupt handler. > But when I registered the second roothub, and the xHCI Express Card was > removed, I saw the USB core access the roothub to try and get the port > status before the second roothub was disconnected. That's why I added > this patch. What happened? That is, what's wrong with letting the driver try to access the second root hub after the card is removed? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html