This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch releases/12.12
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/releases/12.12 by this push:
new 5daab8bba28 Revert: "drivers/i3c: remove extra i3c_dev_register,
do_daa has created them"
5daab8bba28 is described below
commit 5daab8bba28ead405f557c98e915c95f5a42bae8
Author: zhang hu <[email protected]>
AuthorDate: Tue Dec 9 02:26:31 2025 +0000
Revert: "drivers/i3c: remove extra i3c_dev_register, do_daa has created
them"
This reverts commit 694750e8af624bbf828420d7096637a63d160963.
Signed-off-by: octopushu <[email protected]>
---
drivers/i3c/master.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c
index fe26126f259..89f05954b35 100644
--- a/drivers/i3c/master.c
+++ b/drivers/i3c/master.c
@@ -2240,6 +2240,9 @@ int i3c_master_register(FAR struct i3c_master_controller
*master,
*/
master->init_done = true;
+ i3c_bus_normaluse_lock(&master->bus);
+ i3c_master_register_new_i3c_devs(master);
+ i3c_bus_normaluse_unlock(&master->bus);
/* Expose I3C driver node by the i3c_driver on our I3C Bus, i3c driver id
* equal to i3c bus id.