]> 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)
commitaf7144e970f740fb40123959187018316d14834d
tree8b9504900a0c8da5dd0dd432148f3ee6a3689d65
parent40b6be8b941a5edb7465feda165975a8a0cd3337
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>
drivers/media/video/pwc/pwc-v4l.c