usb: dwc3: ep0: introduce ep0_expect_in flag
commit55f3fba6c822f05b02f06070efaadf0300b5f9f1
authorFelipe Balbi <balbi@ti.com>
Thu, 8 Sep 2011 15:27:33 +0000 (8 18:27 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:05:29 +0000 (9 13:05 +0300)
tree1ba2067f9f1ada811eab75008e54ea8d527626e5
parentd742220b357769fa0a764d238373b8667116cf64
usb: dwc3: ep0: introduce ep0_expect_in flag

This flag will tell us which direction we're
expecting on the next (data or status) phase.

It will help us catching errors of host going
crazy and requesting data of the wrong direction.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ep0.c