diff options
| author | Ricardo Ribalda Delgado <ribalda@kernel.org> | 2019-10-07 12:06:29 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 11:34:58 -0300 |
| commit | b35d6c02aa3ca88f80c8da099ebabfe426fab759 (patch) | |
| tree | 89cba39c7977ef44fca3f18a831349ed920a2d33 /tools/perf/scripts | |
| parent | d8b1ad7ce76513efaa463c25d261dab67f7f1f67 (diff) | |
| download | linux-b35d6c02aa3ca88f80c8da099ebabfe426fab759.tar.gz linux-b35d6c02aa3ca88f80c8da099ebabfe426fab759.zip | |
media: v4l2-core: Implement v4l2_ctrl_new_std_compound
Currently compound controls do not have a simple way of initializing its
values. This results in ofuscated code with type_ops init.
This patch introduces a new field on the control with the default value
for the compound control that can be set with the brand new
v4l2_ctrl_new_std_compound function
Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
[hverkuil@xs4all.nl: fix checkpatch warning]
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
