Skip to content

Commit

Permalink
media: hantro: print video device name in addition to device node
Browse files Browse the repository at this point in the history
It can be helpful to know which video device was registered at which
device node.

Signed-off-by: Philipp Zabel <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
pH5 authored and mchehab committed Jun 12, 2019
1 parent a29add8 commit 0b67596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/media/hantro/hantro_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0b67596

Please sign in to comment.