[media] uvcvideo: Ignore GET_RES error for XU controls
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 30 Sep 2010 12:04:03 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 13:15:01 +0000 (11:15 -0200)
commitc4d99f89e20c87c8e2a992ce4cf9aa4325dc7fa7
tree958beaec46982f52a2b32a1836ffcae5b1eb5130
parent3afedb95858bcc117b207a7c0a6767fe891bdfe9
[media] uvcvideo: Ignore GET_RES error for XU controls

GET_RES request support is mandatory for extension units, but some
cameras still choke on it (one example is the Logitech QuickCam PTZ that
returns a single byte for the PTZ relative control instead of four).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_ctrl.c
drivers/media/video/uvc/uvcvideo.h