commit | dc9ef58884eadd54c159213a8f3358ff39148a64 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Thu Nov 03 16:16:32 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Nov 08 12:52:14 2016 +0200 |
tree | e3b48eb36520e355def7e12e197cace2a22e4b09 | |
parent | 6ffd65154e23a4cf5d2da400e0fa7142a4474b98 [diff] |
usb: gadget: mv_u3d: mv_u3d_start_queue() refactoring The patch improves readability of mv_u3d_start_queue() by rearranging its code with two semantic modifications: - assignment zero to ep->processing if usb_gadget_map_request() fails; - propagation of error code from mv_u3d_req_to_trb() instead of hardcoded -ENOMEM. Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>