forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/hwtracing/coresight/coresight-core.c
....@@ -1415,13 +1415,8 @@
14151415 if (csdev->dev.fwnode == conn->child_fwnode) {
14161416 iterator->orphan = true;
14171417 coresight_remove_links(iterator, conn);
1418
- /*
1419
- * Drop the reference to the handle for the remote
1420
- * device acquired in parsing the connections from
1421
- * platform data.
1422
- */
1423
- fwnode_handle_put(conn->child_fwnode);
1424
- conn->child_fwnode = NULL;
1418
+
1419
+ conn->child_dev = NULL;
14251420 /* No need to continue */
14261421 break;
14271422 }