]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Fix break from cleanup request loop
authorPratyush Anand <pratyush.anand@st.com>
Sun, 3 Jun 2012 14:13:19 +0000 (19:43 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Jun 2012 15:23:19 +0000 (18:23 +0300)
commit1cc6f0409fe1f2dcdd564fc5700f18867571461f
treea8a99009368df2cd6e9297857edf94d9bfa3a82c
parenta9db855e334628aaa174cd4b2e31e4667007dff4
usb: dwc3: Fix break from cleanup request loop

If event status says that its last completed TRB but TRB is still owned
by HW then break from the loop, because we are not going to get correct
TRB status from trb control/size register.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c