mirror of
https://github.com/apache/nuttx.git
synced 2026-02-06 04:22:26 +08:00
Revert: "drivers/i3c: remove extra i3c_dev_register, do_daa has created them"
Some checks failed
Build Documentation / build-html (push) Has been cancelled
Some checks failed
Build Documentation / build-html (push) Has been cancelled
This reverts commit 694750e8af.
Signed-off-by: octopushu <octopushu@163.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user