]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pwc: read new preset values when changing awb control to a preset
authorHans de Goede <hdegoede@redhat.com>
Sun, 9 Oct 2011 20:22:00 +0000 (22:22 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Nov 2011 19:27:12 +0000 (17:27 -0200)
commitb8bf9c0211b53664efa0ae23a8d8526162a29987
tree8b9504900a0c8da5dd0dd432148f3ee6a3689d65
parentcf2784c820b026cf543f75e6b22d5e7a6c985f30
pwc: read new preset values when changing awb control to a preset

So that events get generated for the new red + blue bal values when switching
to a preset. This allows apps to solely rely on events instead of needing
to do a query + g_ctrl on all controls when a control with the update flag
set is gets set or gets an event.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pwc/pwc-v4l.c