Skip to content

Commit

Permalink
media: rockchip/vpu: Initialize mdev->bus_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boris Brezillon authored and Mauro Carvalho Chehab committed May 15, 2019
1 parent 2aa314b commit f6d080f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f6d080f

Please sign in to comment.