From: Felipe Balbi Date: Sat, 27 Aug 2011 19:26:00 +0000 (+0300) Subject: usb: dwc3: core: add flag for EP0 direction X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=984f66a6f9b9c02d6cb077ac49ec9fe5445fb1ee;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git usb: dwc3: core: add flag for EP0 direction Add a flag to keep track of ep0 direction. This flag will be used on a following patch. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 8688b5a809d..e7439699f44 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -350,6 +350,9 @@ struct dwc3_ep { #define DWC3_EP_PENDING_REQUEST (1 << 5) #define DWC3_EP_WILL_SHUTDOWN (1 << 6) + /* This last one is specific to EP0 */ +#define DWC3_EP0_DIR_IN (1 << 31) + unsigned current_trb; u8 number;