From: Felipe Balbi Date: Fri, 4 May 2012 10:03:54 +0000 (+0300) Subject: usb: dwc3: handle pending unaligned Control OUT data phase correctly X-Git-Tag: v3.6-rc1~101^2~53^2~27^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0807881af93646b5d94b5594119df609e756945;p=pandora-kernel.git usb: dwc3: handle pending unaligned Control OUT data phase correctly When DWC3_EP_PENDING_REQUEST flag is set for a Control OUT Data phase transfer, we would be missing the proper handling for unaligned OUT requests, thus hanging a transfer. Since proper handling is already done on dwc3_ep0_do_control_data(), we simply re-factor that function so it can be re-used from __dwc3_gadget_ep0_queue(). Reported-by: Pratyush Anand Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed