diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-06-19 01:17:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 21:00:01 +0200 |
commit | ba74edc6def24325af256eea8e8790ce6cdb838d (patch) | |
tree | 092293d60282a92ab35ec708f86974d1d14db2c7 /drivers/media/platform/atmel/atmel-isc-base.c | |
parent | media: hantro: Use vb2_get_buffer (diff) | |
download | linux-ba74edc6def24325af256eea8e8790ce6cdb838d.tar.xz linux-ba74edc6def24325af256eea8e8790ce6cdb838d.zip |
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 'drivers/media/platform/atmel/atmel-isc-base.c')
0 files changed, 0 insertions, 0 deletions