projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'dmaengine-4.4-rc1' of git://git.infradead.org/users/vkoul/slave-dma
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwtracing
/
coresight
/
coresight.c
diff --git
a/drivers/hwtracing/coresight/coresight.c
b/drivers/hwtracing/coresight/coresight.c
index 894531d315b8312f481a15ce64b17bdebe7ffbb4..e25492137d8bec86a5ff406ff1025724df095fbd 100644
(file)
--- a/
drivers/hwtracing/coresight/coresight.c
+++ b/
drivers/hwtracing/coresight/coresight.c
@@
-240,6
+240,11
@@
static int coresight_enable_path(struct list_head *path)
int ret = 0;
struct coresight_device *cd;
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)) {
list_for_each_entry(cd, path, path_link) {
if (cd == list_first_entry(path, struct coresight_device,
path_link)) {