media: vsp1: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:16:36 +0000 (03:16 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:09:30 +0000 (15:09 -0400)
commit4038b214b88e6962406bcc32e1056f3fb6eb11d7
tree8ddf21893e11974029249e653e36b65ed7c96bb5
parent8defd70a9b2ffb49bd070dc2211d79f6cfb29d7e
media: vsp1: 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/vsp1/vsp1_histo.c
drivers/media/platform/vsp1/vsp1_video.c