On Thu, 11 Nov 2010, Greg KH wrote: > On Thu, Oct 28, 2010 at 09:07:55AM +0800, Huang, FrankR wrote: > > Florian and Martin, > > > > From the mail, I am not quite clear about the malfunction condition of your device on USB device with 5536. > > Several monthes ago, I fixed a bug for the CS5536 USB part. That board uses an USB mouse/keyboard and some minutes later after linux boots up, the USB device will hang and does not respond to OS. > > I add a patch to the OHCI driver in ohci_irq() at that time. It is because the interrupt status bit can not be cleared that leads to this bug. > > The patch is as below. You can check the interrupt function(OHCI and EHCI) to find the root cause for your bug. Hope it helps. > > > > Can you provide this patch in a format that I can apply it in? Please > read the file, Documentation/SubmittingPatches for how to create it in > the correct way. Note that this patch fixes a different bug from the one that started this thread. That bug was a problem in ehci-hcd, but the patch changes ohci-hcd. Beyond that, this patch has a lot of problems: whitespace formatting errors, an inefficient test for OHCI_INTR_SO, the first hunk was added in the wrong place, and the entire second hunk appears to be unnecessary. 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