]> git.baikalelectronics.ru Git - kernel.git/commit
media: mx2_emmaprp: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:13:50 +0000 (03:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 18:50:00 +0000 (14:50 -0400)
commitebcbf27d1eeeab41be3af089481975ae9a4fb0b5
tree0d92ef1b3c2aec31093ec9f13ddcab18add28e37
parentbd6ffd889dc266f9c2f88b81cddc90adb2923662
media: mx2_emmaprp: 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/mx2_emmaprp.c