diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-06-18 19:17:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 15:00:01 -0400 |
commit | ba74edc6def24325af256eea8e8790ce6cdb838d (patch) | |
tree | 092293d60282a92ab35ec708f86974d1d14db2c7 /init | |
parent | fd5b4046c7bb3073a2aa03d994cdb698586c5588 (diff) |
media: v4l2-ctrl: Move compound control initialization
Rework std_init adding an explicit initialization for
compound controls.
While here, make sure the control is initialized to zero,
before providing default values for all its fields.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions