]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit5d0360a4f027576e5419d4a7c711c9ca0f1be8ca
treeb8ebb9afdd68b7bef28da38986d1bbb4a2fcc3e6
parent592d1349f719db7c071ba9f4ade272be114b4196
[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