]> git.baikalelectronics.ru Git - 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)
commit41e530d21974ee203e708461064e53217f6414a3
treeb5a6e7bc6c5d27048eee5460f4d401ab84d381a1
parent700de112548a7b0d0a9a830e65493a3f60b6ff5c
[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