aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@collabora.com>2019-04-25 03:12:30 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-15 05:38:15 -0400
commitf6d080f73a8fa0ff1cca84ea5bb73aafa9f538d4 (patch)
tree4c9ad666f90cbcbc3740687c45fd8d05e5cf68a8 /drivers/staging
parent2aa314b4f52f644d7995b8e7ddc831e6e0e1851c (diff)
downloadlinux-f6d080f73a8fa0ff1cca84ea5bb73aafa9f538d4.tar.gz
media: rockchip/vpu: Initialize mdev->bus_info
v4l2-compliance complains that ->bus_info is empty. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c b/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c
index b25e93daafde..675348a06a39 100644
--- a/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c
+++ b/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c
@@ -463,6 +463,8 @@ static int rockchip_vpu_probe(struct platform_device *pdev)
vpu->mdev.dev = vpu->dev;
strscpy(vpu->mdev.model, DRIVER_NAME, sizeof(vpu->mdev.model));
+ strscpy(vpu->mdev.bus_info, "platform: " DRIVER_NAME,
+ sizeof(vpu->mdev.model));
media_device_init(&vpu->mdev);
vpu->v4l2_dev.mdev = &vpu->mdev;