media: cx18: missing CAP_AUDIO for vbi stream
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 1 Feb 2023 12:54:20 +0000 (13:54 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 19 Mar 2023 21:12:39 +0000 (22:12 +0100)
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 <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/pci/cx18/cx18-streams.c

index ce2be7f..5974727 100644 (file)
@@ -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",