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)
commit0b7836a9eb32f626ffd3fe3045e8c618cb8ed965
tree4b78a357ffbebab238e182a1de12efb8cf9b6e05
parent76cb323f80ac32833109e2c089842be2b99d8d2b
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