usb: gadget: function: uvc: conditionally dequeue
authorFelipe Balbi <balbi@ti.com>
Mon, 29 Sep 2014 14:19:59 +0000 (09:19 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:48 +0000 (15:58 -0500)
commitd7577b389233a74609841492feaf6a55967aa5c8
tree52d40cbc85b860f9076770da4d494448779bd126
parent7a60855972f0d3c014093046cb6f013a1ee5bb19
usb: gadget: function: uvc: conditionally dequeue

We shouldn't try to dequeue a NULL pointer.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/uvc_video.c