Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
commit 07d8922 upstream. cfg->type can be overridden by v4l2_ctrl_fill() and the new value is stored in the local type var. Fix the tests to use this local var. Fixes: 0996517 ("V4L/DVB: v4l2: Add new control handling framework") Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> [hverkuil-cisco@xs4all.nl: change to !qmenu and !qmenu_int (checkpatch)] Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
- Loading branch information