media: zoran: zoran does not support STD_ALL
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 25 Sep 2020 18:30:35 +0000 (20:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 1 Oct 2020 07:42:40 +0000 (09:42 +0200)
In fact, zoran does not support V4L2_STD_ALL, so let's enumerate what we
support.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/zoran/zoran_driver.c

index 858e091..60bbc82 100644 (file)
@@ -1765,7 +1765,7 @@ static int zoran_enum_input(struct file *file, void *__fh,
 
        strscpy(inp->name, zr->card.input[inp->index].name, sizeof(inp->name));
        inp->type = V4L2_INPUT_TYPE_CAMERA;
-       inp->std = V4L2_STD_ALL;
+       inp->std = V4L2_STD_NTSC | V4L2_STD_PAL | V4L2_STD_SECAM;
 
        /* Get status of video decoder */
        decoder_call(zr, video, g_input_status, &inp->status);