commit | bd52b813a999e44d2e35c2390d02fa4d0f61d08a | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Fri Aug 08 17:38:57 2014 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue Aug 19 14:34:18 2014 -0500 |
tree | a8c29ec3a6f203a1186c5c4e1fce6cd3b4627da6 | |
parent | 7166c32d9a6b8655ce13b0844482526734ac41b3 [diff] |
usb: gadget: uvc: fix possible lockup in uvc gadget If the pending buffers in the queue could not be pushed to the udc endpoint we have to cancel the uvc_queue. Otherwise the gadget will get stuck on this error. This patch calls uvc_queue_cancel if usb_ep_queue failed. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>