Commit 5adf3edd authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

media: v4l2-fwnode: Print the node name while parsing endpoints



Print the node name during endpoint parsing for better debuggability.

Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 0b09f989
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode,
		       sizeof(*vep) - offsetof(typeof(*vep), bus));
	}

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

	/*
	 * 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,

	ret = __v4l2_fwnode_endpoint_parse(fwnode, vep);

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

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

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

	return 0;
}