diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2008-09-27 20:54:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 09:37:08 -0200 |
commit | b1accfa15533fdd40280aae3102e9599e63a7c10 (patch) | |
tree | 12cfcd4b6213c8ce47f11d3776caf7f40bab6ee6 /arch/alpha/include/asm/dma.h | |
parent | 5e26d50f4e6b9c42bbfbaa452722797ece929cda (diff) |
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>
Diffstat (limited to 'arch/alpha/include/asm/dma.h')
0 files changed, 0 insertions, 0 deletions