Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ca485f4 authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Shashank Mittal
Browse files

coresight: adding comments to remove ambiguity



Add comment to function coresight_enable_path() to make
sure there is no misunderstanding about what the code does.

Change-Id: I4c4a286658551ab8d529d566bc2d6183e84d6e52
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 58b8d51b841eff6473df4d25959a2ec335b7cb85
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarShashank Mittal <mittals@codeaurora.org>
parent 703c334c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -240,6 +240,11 @@ static int coresight_enable_path(struct list_head *path)
	int ret = 0;
	struct coresight_device *cd;

	/*
	 * At this point we have a full @path, from source to sink.  The
	 * sink is the first entry and the source the last one.  Go through
	 * all the components and enable them one by one.
	 */
	list_for_each_entry(cd, path, path_link) {
		if (cd == list_first_entry(path, struct coresight_device,
					   path_link)) {