V4L/DVB (10199): uvcvideo: Fix GET_DEF failure detection.
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 3 Jan 2009 23:08:26 +0000 (20:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:37 +0000 (08:35 -0200)
commit51cac8ada5caaade4eca0023042ceb01edd82840
tree5edbc37121ca2348499ca7f4c93025d95fe72246
parentfba4578ee925110587ef9b8b6ddfabf2ce288071
V4L/DVB (10199): uvcvideo: Fix GET_DEF failure detection.

Commit 44f0079ec74330b457d990072c13cbe28b0f1abf erroneously considers all
GET_DEF requests as unsuccessful. Fix this by checking the request return
value.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_video.c