aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2016-11-03 16:16:32 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-08 12:52:14 +0200
commitdc9ef58884eadd54c159213a8f3358ff39148a64 (patch)
treee3b48eb36520e355def7e12e197cace2a22e4b09 /tools/perf/scripts/python
parentusb: gadget: mv_u3d: add check for dma mapping error (diff)
downloadlinux-dc9ef58884eadd54c159213a8f3358ff39148a64.tar.gz
linux-dc9ef58884eadd54c159213a8f3358ff39148a64.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions