From: Hans Verkuil Date: Wed, 1 Feb 2023 12:54:20 +0000 (+0100) Subject: media: cx18: missing CAP_AUDIO for vbi stream X-Git-Tag: v6.6.17~5047^2~450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=832c49e9ca526f90469cf291d148b02238afa05b;p=platform%2Fkernel%2Flinux-rpi.git media: cx18: missing CAP_AUDIO for vbi stream The v4l2-compliance test complained about this. You can change the input connector for the vbi stream, but that means that you can have to be able to do the same for the audio input. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/cx18/cx18-streams.c b/drivers/media/pci/cx18/cx18-streams.c index ce2be7f..5974727 100644 --- a/drivers/media/pci/cx18/cx18-streams.c +++ b/drivers/media/pci/cx18/cx18-streams.c @@ -79,7 +79,7 @@ static struct { VFL_TYPE_VBI, 0, DMA_FROM_DEVICE, V4L2_CAP_VBI_CAPTURE | V4L2_CAP_SLICED_VBI_CAPTURE | - V4L2_CAP_READWRITE | V4L2_CAP_TUNER + V4L2_CAP_READWRITE | V4L2_CAP_AUDIO | V4L2_CAP_TUNER }, { /* CX18_ENC_STREAM_TYPE_PCM */ "encoder PCM audio",