diff options
author | Johan Hovold <[email protected]> | 2023-03-06 08:56:32 +0100 |
---|---|---|
committer | Georgi Djakov <[email protected]> | 2023-03-07 22:19:05 +0200 |
commit | 9fbd35520f1f7f3cbe1873939a27ad9b009f21f9 (patch) | |
tree | 70de5cb437ee8a4cba13d42027465134cc1afd6b /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | eb59eca0d8ac15f8c1b7f1cd35999455a90292c0 (diff) |
interconnect: imx: fix registration race
The current interconnect provider registration interface is inherently
racy as nodes are not added until the after adding the provider. This
can specifically cause racing DT lookups to fail.
Switch to using the new API where the provider is not registered until
after it has been fully initialised.
Fixes: f0d8048525d7 ("interconnect: Add imx core driver")
Cc: [email protected] # 5.8
Cc: Alexandre Bailon <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Tested-by: Luca Ceresoli <[email protected]> # i.MX8MP MSC SM2-MB-EP1 Board
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions