diff options
author | Felipe Balbi <balbi@ti.com> | 2011-08-30 08:48:08 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 06:02:17 -0400 |
commit | 0b7836a9eb32f626ffd3fe3045e8c618cb8ed965 (patch) | |
tree | 4b78a357ffbebab238e182a1de12efb8cf9b6e05 /drivers/usb/dwc3/ep0.c | |
parent | 76cb323f80ac32833109e2c089842be2b99d8d2b (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 618a29e11323..045c278274a5 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) | |||
68 | return "Data Phase"; | 68 | return "Data Phase"; |
69 | case EP0_STATUS_PHASE: | 69 | case EP0_STATUS_PHASE: |
70 | return "Status Phase"; | 70 | return "Status Phase"; |
71 | case EP0_STALL: | ||
72 | return "Stall"; | ||
73 | default: | 71 | default: |
74 | return "UNKNOWN"; | 72 | return "UNKNOWN"; |
75 | } | 73 | } |