]> asedeno.scripts.mit.edu Git - linux.git/commit
media: coda: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 06:48:20 +0000 (02:48 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 18:45:10 +0000 (14:45 -0400)
commite7999846b9448a84083a913f0e882a93b4d9d123
treefc69ec70704336edd5699a0fd559619ed3fa1966
parentb2778a30c73b25bfd276bc9e7fad7585f2e80dbd
media: coda: 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: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c