]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] 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 (17:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 26 Nov 2011 15:42:57 +0000 (13:42 -0200)
commitc5fda917ea5322f62d49183f67f98f2623d78381
tree793b07a66933471eafa30002871a5cb948b6195e
parent31d2b33937670ce2806e4ac57dbabb66b4e12194
[media] 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