usb: gadget: uvc: Fix error handling in uvc_queue_buffer()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 29 Apr 2013 20:18:01 +0000 (22:18 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Aug 2013 14:40:54 +0000 (17:40 +0300)
commitebe864a6cb8e087ede047fa1fa6b6d06fcb9a9e4
tree2b31ce7fc5db0b88d22c8ff1b1790e4efd002c4a
parent9b3452d1fa3c017d3664ff9e6a601daa6e0576eb
usb: gadget: uvc: Fix error handling in uvc_queue_buffer()

The conversion to videobuf2 failed to check the return value of
vb2_qbuf(). Fix it.

Cc: stable@vger.kernel.org
Reported-by: Michael Grzeschik <mgr@pengutronix.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-By: Michael Grzeschik <mgr@pengutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/uvc_queue.c