summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/ep0.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-08-30 15:48:08 +0300
committerFelipe Balbi <balbi@ti.com>2011-09-09 13:02:17 +0300
commit0b7836a9eb32f626ffd3fe3045e8c618cb8ed965 (patch)
tree4b78a357ffbebab238e182a1de12efb8cf9b6e05 /drivers/usb/dwc3/ep0.c
parent76cb323f80ac32833109e2c089842be2b99d8d2b (diff)
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>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
-rw-r--r--drivers/usb/dwc3/ep0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 618a29e1132..045c278274a 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -68,8 +68,6 @@ static const char *dwc3_ep0_state_string(enum dwc3_ep0_state state)
return "Data Phase";
case EP0_STATUS_PHASE:
return "Status Phase";
- case EP0_STALL:
- return "Stall";
default:
return "UNKNOWN";
}