]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l2-ctrl: Move compound control validation
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 11 Jul 2019 20:26:41 +0000 (16:26 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:12:23 +0000 (15:12 -0400)
commitde8145452eebe5510bd2b142b31560db548d6abb
treeb9e142447c0885770e1c2d261566f892749a868c
parent616cfb69b9848ad8dcb67f00c1914e69552325a2
media: v4l2-ctrl: Move compound control validation

Rework std_validate moving the compound controls to
its own validation function.

While here, fix the pointer math to account the index parameter.

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>
drivers/media/v4l2-core/v4l2-ctrls.c