]> git.baikalelectronics.ru Git - kernel.git/commit
media: s3c-camif/s5p-g2d/s5p-jpeg: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 06:51:41 +0000 (02:51 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 18:45:40 +0000 (14:45 -0400)
commit4859bff7e907c941fca1543d506bcc2a3cacaf66
treecd996b27a4bd6f9ba0e65b648229db3f35652e61
parent36381ca559c984cc0f273cfbaf151279b428b1a1
media: s3c-camif/s5p-g2d/s5p-jpeg: 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/s3c-camif/camif-capture.c
drivers/media/platform/s5p-g2d/g2d.c
drivers/media/platform/s5p-jpeg/jpeg-core.c