usb: dwc3: use ep0_next_event field
authorFelipe Balbi <balbi@ti.com>
Tue, 30 Aug 2011 12:52:17 +0000 (15:52 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:18 +0000 (13:02 +0300)
commit1ddcb218b5920fb20c2b3f029f0189568c2dc6e2
tree4ae18461fed4e9b1aecae08ca83654323887cb64
parentb53c772d16a9751554aabb05f95cef7b0b7fa2e9
usb: dwc3: use ep0_next_event field

Start tracking the next expected event and act
on the error conditions as suggested by databook.

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