]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ctrls: add support for setting string controls
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 Jul 2014 13:45:42 +0000 (10:45 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 25 Jul 2014 22:18:51 +0000 (19:18 -0300)
commitf62bfbae19d0aca000208a9be7abdebaec870417
treeb8ebb9afdd68b7bef28da38986d1bbb4a2fcc3e6
parent8183e816ba8bee5060b1a449f395afb610e58b47
[media] v4l2-ctrls: add support for setting string controls

Rather than always having to use a v4l2_ext_control struct to set
a control value from within a driver, switch to just setting the
new value. This is faster and it makes it possible to set more
complex types such as a string control as is added by this
patch.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h