]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79f1c904bd7317e909d0670bec432656ec32419d
tree5edbc37121ca2348499ca7f4c93025d95fe72246
parent5a0435d522699f0c26313c41e9fecf415df37da3
V4L/DVB (10199): uvcvideo: Fix GET_DEF failure detection.

Commit 121884056c5a0d0f27725342042a1fe3c86b65ba 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