]> git.baikalelectronics.ru Git - kernel.git/commit
media: bdisp: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:15:02 +0000 (03:15 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:08:00 +0000 (15:08 -0400)
commite6c42f58c06780a3287c9d39ef19dc1768b92d4b
tree987c6ead702b92d760d344f2991c8e50f46503d7
parentec0f71244b0be1fa0398f691cc8c056790c6e119
media: bdisp: 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: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/sti/bdisp/bdisp-v4l2.c