]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: drop EP0_STALL state
authorFelipe Balbi <balbi@ti.com>
Tue, 30 Aug 2011 12:48:08 +0000 (15:48 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:17 +0000 (13:02 +0300)
commit087c06f852e00bbf88057ef6bac03fb27cd6505a
tree4b78a357ffbebab238e182a1de12efb8cf9b6e05
parent4a3d5530dff110c7a87f459231254379d76df90b
usb: dwc3: drop EP0_STALL state

Whenever we issue a Set Stall command on EP0,
the state machine will be restarted and Stall
is cleared automatically, when core receives
the next SETUP packet.

There's no need to track that EP0_STALL state.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c