commit | 7b5e504daef569de8b98acb5e2ba14e42dcf582f | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@wwwdotorg.org> | Sat Mar 07 22:48:52 2015 -0700 |
committer | Marek Vasut <marex@denx.de> | Tue Apr 14 05:47:58 2015 +0200 |
tree | 15af1a9e0061ec9806d57c47d7d25f121cd5fdc3 | |
parent | 4a1d21fc529d8c0ff5568e278a1b23abb09901e5 [diff] |
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>