Skip to content

Commit 5adf3ed

Browse files
Sakari Ailusmchehab
authored andcommitted
media: v4l2-fwnode: Print the node name while parsing endpoints
Print the node name during endpoint parsing for better debuggability. Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 0b09f98 commit 5adf3ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/media/v4l2-core/v4l2-fwnode.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode,
422422
sizeof(*vep) - offsetof(typeof(*vep), bus));
423423
}
424424

425-
pr_debug("===== begin V4L2 endpoint properties\n");
425+
pr_debug("===== begin parsing endpoint %pfw\n", fwnode);
426426

427427
/*
428428
* Zero the fwnode graph endpoint memory in case we don't end up parsing
@@ -500,7 +500,7 @@ int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode,
500500

501501
ret = __v4l2_fwnode_endpoint_parse(fwnode, vep);
502502

503-
pr_debug("===== end V4L2 endpoint properties\n");
503+
pr_debug("===== end parsing endpoint %pfw\n", fwnode);
504504

505505
return ret;
506506
}
@@ -551,7 +551,7 @@ int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode,
551551
vep->link_frequencies[i]);
552552
}
553553

554-
pr_debug("===== end V4L2 endpoint properties\n");
554+
pr_debug("===== end parsing endpoint %pfw\n", fwnode);
555555

556556
return 0;
557557
}

0 commit comments

Comments
 (0)