media: v4l2-ctrls: add support for dynamically allocated arrays.
Implement support for dynamically allocated arrays. Most of the changes concern keeping track of the number of elements of the array and the number of elements allocated for the array and reallocating memory if needed. Acked-by: NBenjamin Gaignard <benjamin.gaignard@collabora.com> Acked-by: NNicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by: NBenjamin Gaignard <benjamin.gaignard@collabora.com> Tested-by: NJernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
Showing
想要评论请 注册 或 登录