musb_gadget: fix unhandled endpoint 0 IRQs
[linux-2.6.git] / drivers / usb / musb / musb_core.h
index efb39b5e55b5e62493dc64ea8d05ab15d10074b8..c2a776ee1947235d8e47fca357fa9371dbd43991 100644 (file)
@@ -171,7 +171,8 @@ enum musb_h_ep0_state {
 
 /* peripheral side ep0 states */
 enum musb_g_ep0_state {
-       MUSB_EP0_STAGE_SETUP,           /* idle, waiting for setup */
+       MUSB_EP0_STAGE_IDLE,            /* idle, waiting for SETUP */
+       MUSB_EP0_STAGE_SETUP,           /* received SETUP */
        MUSB_EP0_STAGE_TX,              /* IN data */
        MUSB_EP0_STAGE_RX,              /* OUT data */
        MUSB_EP0_STAGE_STATUSIN,        /* (after OUT data) */