USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again
commit8820f3f2ebca46c9bd408d47e54c565fa92ca4e3
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 16 Nov 2009 10:54:05 +0000 (16 16:24 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:43:34 +0000 (18 13:43 -0800)
tree3a0cea9bdc6d27ee6489be2ad33bf1bfdee045a4
parentfa72330af584dc6d360f29493bf8c11b59f7cdf1
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