From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1
---
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