[media] uvc: Add return code check at vb2_queue_init()
authorEzequiel Garcia <elezegarcia@gmail.com>
Wed, 26 Sep 2012 10:30:34 +0000 (07:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 15:25:21 +0000 (12:25 -0300)
commit5712661d643099bda44909cfd75560fcda72c387
treeb74b822a070b9de0008d790c9087ab8c9627d8b2
parente0f6e4d6ff8d82ca6813f47d12f85224d7491d9e
[media] uvc: Add return code check at vb2_queue_init()

This function returns an integer and it's mandatory
to check the return code.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/uvc/uvc_queue.c
drivers/media/usb/uvc/uvc_video.c
drivers/media/usb/uvc/uvcvideo.h