commit | fa4dce2022241f3c938372af0faf9d263061f6a9 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Thu Nov 19 15:02:19 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Tue Dec 15 09:12:41 2015 -0600 |
tree | 5dc2be825a5b02663b87abf570e245907557b805 | |
parent | 0aecfc1b359dffddf74bd0e0ea5ee47066d210ac [diff] |
usb: gadget: f_sourcesink: quit if usb_ep_queue returns error Since now, we may have more than one request during the test, and it is better we just quit once the error occurs instead of try queueing further requests. Signed-off-by: Peter Chen <peter.chen@freescale.com> Suggested-by: Krzysztof Opasiak <k.opasiak@samsung.com> Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>