commit | 972ad645d403dc5eb14a8e1d034cb4fb8d8adb47 | [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 | 8a3466637f9a581609f23724a3d766067a2b68db [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>