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

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

[media] v4l2-pci-skeleton: drop format description



The format description is now filled in by the core, so we can
drop this in this skeleton driver.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 99b74277
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -406,9 +406,7 @@ static int skeleton_enum_fmt_vid_cap(struct file *file, void *priv,
	if (f->index != 0)
		return -EINVAL;

	strlcpy(f->description, "4:2:2, packed, YUYV", sizeof(f->description));
	f->pixelformat = V4L2_PIX_FMT_YUYV;
	f->flags = 0;
	return 0;
}