summaryrefslogtreecommitdiff
path: root/hgimport
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-27 23:54:02 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-27 23:54:02 +0000
commitcfd49e1a2492fe52c02e75c2e2a82eceb3385ff8 (patch)
treef10cef33c899a2446441eb53939f9dc0fd8c308c /hgimport
parent3f7c87cad1eaa1b5274ee30258cd5862c3adfb98 (diff)
downloadmediapointer-dvb-s2-cfd49e1a2492fe52c02e75c2e2a82eceb3385ff8.tar.gz
mediapointer-dvb-s2-cfd49e1a2492fe52c02e75c2e2a82eceb3385ff8.tar.bz2
uvcvideo: Fix control cache access when setting composite auto-update controls
From: Laurent Pinchart <laurent.pinchart@skynet.be> 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 'hgimport')
0 files changed, 0 insertions, 0 deletions