|
@@ -504,11 +504,12 @@ static int coresight_orphan_match(struct device *dev, void *data)
|
|
/* We have found at least one orphan connection */
|
|
/* We have found at least one orphan connection */
|
|
if (conn->child_dev == NULL) {
|
|
if (conn->child_dev == NULL) {
|
|
/* Does it match this newly added device? */
|
|
/* Does it match this newly added device? */
|
|
- if (!strcmp(dev_name(&csdev->dev), conn->child_name))
|
|
|
|
|
|
+ if (!strcmp(dev_name(&csdev->dev), conn->child_name)) {
|
|
conn->child_dev = csdev;
|
|
conn->child_dev = csdev;
|
|
- } else {
|
|
|
|
- /* Too bad, this component still has an orphan */
|
|
|
|
- still_orphan = true;
|
|
|
|
|
|
+ } else {
|
|
|
|
+ /* This component still has an orphan */
|
|
|
|
+ still_orphan = true;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|