diff options
author | Aniket <[email protected]> | 2023-08-22 05:19:38 +0000 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-08-28 00:46:23 +0200 |
commit | c6a7550458922181bb922863d5f5feaf3c453fe5 (patch) | |
tree | f3085dba8d4baaace39ac8e32825677b787cbc8b /lib/memory-notifier-error-inject.c | |
parent | 32e6b31a6a80ba9493fad802d68d41f4d63230cc (diff) |
i3c: master: Fix SETDASA process
When a I3C DT node has a static_addr and an init_dyn_addr,the
init_dyn_addr is reserved in i3c_master_bus_init() and then
the static_addr is reserved in i3c_master_early_i3c_dev_add().
But if the dynamic address is same as static then above
procedure would fail.
Add a check to pass i3c_bus_get_addr_slot_status() when static
and dynamic address are equal.
Signed-off-by: Aniket <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions