Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d14cf19d authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarNick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 8ed50eb4
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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;