mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
Revert: "drivers/i3c: remove extra i3c_dev_register, do_daa has created them"
This reverts commit 694750e8af.
Signed-off-by: octopushu <octopushu@163.com>
This commit is contained in:
parent
2de5c0387f
commit
5daab8bba2
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue