From: Michael Grzeschik Date: Fri, 8 Aug 2014 15:38:57 +0000 (+0200) Subject: usb: gadget: uvc: fix possible lockup in uvc gadget X-Git-Tag: omap-fixes-against-v3.17-rc3~24^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd52b813a999e44d2e35c2390d02fa4d0f61d08a;p=pandora-kernel.git 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 Signed-off-by: Michael Grzeschik Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed