summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-07-20 10:09:29 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 06:56:29 -0300
commit282b3fb831d64b38cac67a912d99ca3dd547aac9 (patch)
tree50626cadf4f3b66fe323f8132d88c405349846f8 /drivers/media/platform
parent1fea3d6069ae446e084177430f66c11cd4fc8751 (diff)
[media] fsl-viu: fill in bus_info in vidioc_querycap
The bus_info field was never filled. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/fsl-viu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c
index f0ec55134b45..ab8012c7635e 100644
--- a/drivers/media/platform/fsl-viu.c
+++ b/drivers/media/platform/fsl-viu.c
@@ -563,6 +563,7 @@ static int vidioc_querycap(struct file *file, void *priv,
{
strcpy(cap->driver, "viu");
strcpy(cap->card, "viu");
+ strcpy(cap->bus_info, "platform:viu");
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE |
V4L2_CAP_STREAMING |
V4L2_CAP_VIDEO_OVERLAY |