[media] sur40: drop unnecessary format description
Don't fill in the format description. This is now done in the V4L2 core to ensure consistent descriptions. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Nick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
8ed50eb420
commit
d14cf19d2b
|
@ -783,7 +783,6 @@ static int sur40_vidioc_enum_fmt(struct file *file, void *priv,
|
||||||
{
|
{
|
||||||
if (f->index != 0)
|
if (f->index != 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
strlcpy(f->description, "8-bit greyscale", sizeof(f->description));
|
|
||||||
f->pixelformat = V4L2_PIX_FMT_GREY;
|
f->pixelformat = V4L2_PIX_FMT_GREY;
|
||||||
f->flags = 0;
|
f->flags = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue