Commit 0b675962 authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab
Browse files

media: hantro: print video device name in addition to device node



It can be helpful to know which video device was registered at which
device node.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent a29add8c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -607,7 +607,8 @@ static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid)
		goto err_unreg_dev;
	}

	v4l2_info(&vpu->v4l2_dev, "registered as /dev/video%d\n", vfd->num);
	v4l2_info(&vpu->v4l2_dev, "registered %s as /dev/video%d\n", vfd->name,
		  vfd->num);

	return 0;