usb: dwc2: unify waiting for transfer completion
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:51 +0000 (22:48 -0700)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:47:58 +0000 (05:47 +0200)
commit4a1d21fc529d8c0ff5568e278a1b23abb09901e5
treecc09359cef4f8716160a0a9991e646b226c2fb25
parent319418c01c95f3c6a0d37a4d82740b437aa23b0e
usb: dwc2: unify waiting for transfer completion

Lift common code out of submit_bulk_msg() and submit_control_msg().

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
drivers/usb/host/dwc2.c