]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: ep0: introduce ep0_expect_in flag
authorFelipe Balbi <balbi@ti.com>
Thu, 8 Sep 2011 15:27:33 +0000 (18:27 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:05:29 +0000 (13:05 +0300)
commit55f3fba6c822f05b02f06070efaadf0300b5f9f1
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