]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 16 Nov 2009 10:54:05 +0000 (16:24 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:03:56 +0000 (14:03 -0800)
commitd25997311e1bf8c338db97558666b7642919b820
tree4650e9e8497bb11cc24c4808b03cd52506a6df4d
parent7f0d909acd1644a1eb313c7f67f17f9aa58c9ac6
USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again

commit 196f1b7a387546f425df2f1fad26772e3d513aea upstream.

Commit a5073b52833e4df8e16c93dc4cbb7e0c558c74a2 (musb_gadget: fix
unhandled endpoint 0 IRQs) somehow missed its key change:

"The gadget EP0 code routinely ignores an interrupt at end of
the data phase because of musb_g_ep0_giveback() resetting the
state machine to "idle, waiting for SETUP" phase prematurely."

So, the majority of the cases of unhandled IRQs is still unfixed...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_gadget_ep0.c