]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: dwc2: refactor submit_bulk_msg to be common
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:52 +0000 (22:48 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:07 +0000 (21:47 +0200)
commita5557a293c0f15751dd660ad08955dfbb4ab73fe
tree8d3cb1b1f1e0a192a11a06c276b390ab922653dd
parent55866372bf8e8d20027001df5c06a949272865bc
usb: dwc2: refactor submit_bulk_msg to be common

Move the body of submit_bulk_msg() into new function chunk_msg(). This
can be shared with submit_control_msg() to reduce code duplication, and
allow control messages larger than maxpacket.

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