diff options
author | Johan Hovold <[email protected]> | 2023-03-06 08:56:36 +0100 |
---|---|---|
committer | Georgi Djakov <[email protected]> | 2023-03-13 21:12:16 +0200 |
commit | 90ae93d8affc1061cd87ca8ddd9a838c7d31a158 (patch) | |
tree | d3c31365bc5bd8b27a37618c0ec9f2c10596b1ba /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | bc463201f60803fa6bf2741d59441031cd0910e4 (diff) |
interconnect: qcom: rpm: 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: 62feb14ee8a3 ("interconnect: qcom: Consolidate interconnect RPM support")
Fixes: 30c8fa3ec61a ("interconnect: qcom: Add MSM8916 interconnect provider driver")
Cc: [email protected] # 5.7
Reviewed-by: Konrad Dybcio <[email protected]>
Reviewed-by: Jun Nie <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions