[PATCH] usb: musb: am35xx: drop spurious unplugging a device

2012-10-04 Thread Stefano Babic
B hub, while it is easy to reproduce connectict a USB-poen directly to the USB-A of the board. Drop tx / rx interrupts if disconnect is detected. Signed-off-by: Stefano Babic CC: Felipe Balbi --- drivers/usb/musb/am35x.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb

Re: [PATCH] usb: musb: am35xx: drop spurious unplugging a device

2012-10-09 Thread Stefano Babic
On 09/10/2012 13:59, Igor Grinberg wrote: > On 10/04/12 14:34, Stefano Babic wrote: >> On AM3517, tx and rx interrupt are detected together with >> the disconnect event. This generates a kernel panic in musb_interrupt, >> because rx / tx are handled after disconnect. >&g

[PATCH V2] usb: musb: am35xx: drop spurious unplugging a device

2012-10-09 Thread Stefano Babic
B hub, while it is easy to reproduce connecting a USB-pen directly to the USB-A of the board. Drop tx / rx interrupts if disconnect is detected. Signed-off-by: Stefano Babic CC: Felipe Balbi Tested-by: Dmitry Lifshitz Tested-by: Igor Grinberg --- Changes: - correct commit message - add test

[PATCH RESEND V2] usb: musb: am35xx: drop spurious unplugging a device

2012-10-15 Thread Stefano Babic
B hub, while it is easy to reproduce connecting a USB-pen directly to the USB-A of the board. Drop tx / rx interrupts if disconnect is detected. Signed-off-by: Stefano Babic CC: Felipe Balbi Cc: sta...@vger.kernel.org # 3.5 3.6 Tested-by: Dmitry Lifshitz Tested-by: Igor Grinberg --- Ch