]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[media] vivid: fix compliance error
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 29 Oct 2015 04:59:37 +0000 (02:59 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:34:23 +0000 (14:34 -0200)
commitf6de9f608504849f3437abe60eeb43932ec5455e
treeb5a6e7bc6c5d27048eee5460f4d401ab84d381a1
parentba463988a00520d0019cfc70f42ecfe122e9fefd
[media] vivid: fix compliance error

If vivid is loaded with the no_error_inj=1 option, then v4l2-compliance will
fail for the video and vbi output nodes because the vivid control class has no
controls.

Don't add the control class for video and vbi output if no_error_inj is true.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-ctrls.c