From: Corentin Labbe Date: Fri, 25 Sep 2020 18:30:35 +0000 (+0200) Subject: media: zoran: zoran does not support STD_ALL X-Git-Tag: v5.10-rc1~175^2~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=799cb9e3c1c4cf0c987ae10feb12a9aba295e5de;p=thirdparty%2Fkernel%2Flinux.git media: zoran: zoran does not support STD_ALL In fact, zoran does not support V4L2_STD_ALL, so let's enumerate what we support. Signed-off-by: Corentin Labbe Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c index 858e0910884c6..60bbc8235cfff 100644 --- a/drivers/staging/media/zoran/zoran_driver.c +++ b/drivers/staging/media/zoran/zoran_driver.c @@ -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);