]> 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)
commitd4d78131e98cf62a3938a6b079300e4d68129480
treeb8ebb9afdd68b7bef28da38986d1bbb4a2fcc3e6
parentc97b66b05fc278a2570a12c5b2c6ab08767a590c
[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