From: Hans Verkuil Date: Mon, 20 Jul 2015 13:09:29 +0000 (-0300) Subject: [media] fsl-viu: fill in bus_info in vidioc_querycap X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=282b3fb831d64b38cac67a912d99ca3dd547aac9;p=openwrt%2Fstaging%2Fblogic.git [media] fsl-viu: fill in bus_info in vidioc_querycap The bus_info field was never filled. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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 |