Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc137f01 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 164f6e14
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;