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 07d89227a983df957a6a7c56f7c040cde9ac571f 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") Cc: <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> [[email protected]: change to !qmenu and !qmenu_int (checkpatch)] Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information