]> git.baikalelectronics.ru Git - kernel.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, 11 Dec 2009 19:55:25 +0000 (11:55 -0800)
commitec9858d12bfc5a4a328e06c0979290be4fb5c879
treecce6d7b595f33c2d5447a1e16820205988b8a8a0
parent4d785697fc493b0b0a65fdb0e406ef709ee3ec9f
USB: musb_gadget_ep0: fix unhandled endpoint 0 IRQs, again

Commit 325f4e4fde055dd853d8d1fbe25fd5814b9c4ef2 (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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_gadget_ep0.c