[media] fsl-viu: fill in bus_info in vidioc_querycap
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 20 Jul 2015 13:09:29 +0000 (10:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 09:56:29 +0000 (06:56 -0300)
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>
drivers/media/platform/fsl-viu.c

index f0ec55134b4596bd6f77b575c6c4e6c5c76b1abc..ab8012c7635ee94d1ee27d9650ea8799a18ac3a3 100644 (file)
@@ -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 |