media: vivid: do not implement VIDIOC_S_PARM for output streams
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 11 Jan 2019 11:37:03 +0000 (06:37 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 18:43:16 +0000 (13:43 -0500)
commit3f122df4a2ba6704ccf51f5caec583443514644f
tree2fb417ec3729965e67216cff0e69b43504a52762
parent987303cc172a0899bc25b913d1315809a9fb8d17
media: vivid: do not implement VIDIOC_S_PARM for output streams

v4l2_compliance gave a warning for the S_PARM test for output streams:

warn: v4l2-test-formats.cpp(1235): S_PARM is supported for buftype 2, but not for ENUM_FRAMEINTERVALS

The reason is that vivid mapped s_parm for output streams to g_parm. But if
S_PARM doesn't actually change anything, then it shouldn't be enabled at all.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vivid/vivid-core.c