media: ti-vpe: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:17:17 +0000 (03:17 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:10:05 +0000 (15:10 -0400)
commiteefe332c15967f40df7cc0cbc054523e7d6b1fc9
treea8392499ba6d5ddba97a358e8c5647be8627e794
parentc7711aba06696c48343cb4616813f6de295a5573
media: ti-vpe: 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>
Acked-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/ti-vpe/cal.c