diff options
author | Felipe Balbi <balbi@ti.com> | 2011-08-27 22:04:32 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 13:02:03 +0300 |
commit | dc137f01aca23ceb196945130a960e2a01b95890 (patch) | |
tree | be12a0a233a9f1f16bc5e19022db53164154978b /drivers/usb/dwc3 | |
parent | 164f6e141ed214bda30fb219d41ec3254bd90886 (diff) | |
download | blackbird-obmc-linux-dc137f01aca23ceb196945130a960e2a01b95890.tar.gz blackbird-obmc-linux-dc137f01aca23ceb196945130a960e2a01b95890.zip |
usb: dwc3: core: add defines for XferNotReady event on Control EPs
The status field of the Transfer Not Read event
is different on Control Endpoints. On this patch
we are just adding the defines to be used on a
later patch which will re-work the control endpoint
handling.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 17e96610ec64..08d8ff6b943a 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -634,6 +634,12 @@ struct dwc3_event_depevt { #define DEPEVT_STATUS_SHORT (1 << 1) #define DEPEVT_STATUS_IOC (1 << 2) #define DEPEVT_STATUS_LST (1 << 3) + +/* Control-only Status */ +#define DEPEVT_STATUS_CONTROL_SETUP 0 +#define DEPEVT_STATUS_CONTROL_DATA 1 +#define DEPEVT_STATUS_CONTROL_STATUS 2 + u32 parameters:16; } __packed; |