From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/drivers/hwtracing/coresight/coresight-core.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/kernel/drivers/hwtracing/coresight/coresight-core.c b/kernel/drivers/hwtracing/coresight/coresight-core.c
index 53dc2aa..08c7d00 100644
--- a/kernel/drivers/hwtracing/coresight/coresight-core.c
+++ b/kernel/drivers/hwtracing/coresight/coresight-core.c
@@ -1415,13 +1415,8 @@
if (csdev->dev.fwnode == conn->child_fwnode) {
iterator->orphan = true;
coresight_remove_links(iterator, conn);
- /*
- * Drop the reference to the handle for the remote
- * device acquired in parsing the connections from
- * platform data.
- */
- fwnode_handle_put(conn->child_fwnode);
- conn->child_fwnode = NULL;
+
+ conn->child_dev = NULL;
/* No need to continue */
break;
}
--
Gitblit v1.6.2