]> git.baikalelectronics.ru Git - kernel.git/commit
media: xilinx: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:15:44 +0000 (03:15 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:08:47 +0000 (15:08 -0400)
commit8dc68c50f6ddb6e28e476f9ccceed3288b1505a1
treebdf7fdcf1f02422ae805736a1c84eb5658a7983b
parente0783bdfec87553f1b438c392442ccdfe5f60a3c
media: xilinx: set device_caps in struct video_device

Instead of filling in the struct v4l2_capability device_caps
field, fill in the struct video_device device_caps field.

That way the V4L2 core knows what the capabilities of the
video device are.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/xilinx/xilinx-dma.c