linux/drivers/media
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
..
common V4L/DVB (8970): mt2060: implement I2C-gate control 2008-10-12 09:37:02 -02:00
dvb V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it. 2008-10-12 09:37:07 -02:00
radio V4L/DVB (8788): v4l: replace video_get_drvdata(video_devdata(filp)) with video_drvdata(filp) 2008-10-12 09:36:54 -02:00
video V4L/DVB (9036): uvcvideo: Fix control cache access when setting composite auto-update controls 2008-10-12 09:37:08 -02:00
Kconfig V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on" 2008-07-20 07:28:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00