]> git.baikalelectronics.ru Git - kernel.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)
commit515d4a649a6e312a40d98d356a6b3343b2902386
tree1ba2067f9f1ada811eab75008e54ea8d527626e5
parenta6cd1a49b19403c6b0b7b020c7c80588e21fc170
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