linux-kernel-test/drivers/media/video/uvc
Laurent Pinchart b1accfa155 V4L/DVB (9036): uvcvideo: Fix control cache access when setting composite auto-update controls
Auto-update controls are never marked is loaded to prevent uvc_get_ctrl from
loading the control value from the cache. When setting a composite (mapped to
several V4L2 controls) auto-update UVC control, the driver updates the control
cache value before processing each V4L2 control, overwriting the previously
set V4L2 control.

This fixes the problem by marking all controls as loaded in uvc_set_ctrl
regardless of their type and resetting the loaded flag in uvc_commit_ctrl for
auto-update controls.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-12 09:37:08 -02:00
..
Kconfig V4L/DVB (8234): uvcvideo: Make input device support optional 2008-07-20 07:18:09 -03:00
Makefile V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected 2008-07-02 08:58:15 -03:00
uvc_ctrl.c V4L/DVB (9036): uvcvideo: Fix control cache access when setting composite auto-update controls 2008-10-12 09:37:08 -02:00
uvc_driver.c V4L/DVB (9030): uvcvideo : Add support for Advent 4211 integrated webcam 2008-10-12 09:37:07 -02:00
uvc_isight.c
uvc_queue.c PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
uvc_status.c V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4 2008-10-12 09:37:08 -02:00
uvc_v4l2.c V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable size format. 2008-10-12 09:37:08 -02:00
uvc_video.c V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable size format. 2008-10-12 09:37:08 -02:00
uvcvideo.h V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4 2008-10-12 09:37:08 -02:00