Commit 282b3fb8 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] fsl-viu: fill in bus_info in vidioc_querycap

The bus_info field was never filled.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 1fea3d60
...@@ -563,6 +563,7 @@ static int vidioc_querycap(struct file *file, void *priv, ...@@ -563,6 +563,7 @@ static int vidioc_querycap(struct file *file, void *priv,
{ {
strcpy(cap->driver, "viu"); strcpy(cap->driver, "viu");
strcpy(cap->card, "viu"); strcpy(cap->card, "viu");
strcpy(cap->bus_info, "platform:viu");
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | cap->device_caps = V4L2_CAP_VIDEO_CAPTURE |
V4L2_CAP_STREAMING | V4L2_CAP_STREAMING |
V4L2_CAP_VIDEO_OVERLAY | V4L2_CAP_VIDEO_OVERLAY |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment