diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-03-06 10:56:32 +0300 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2023-03-07 23:19:05 +0300 |
commit | 9fbd35520f1f7f3cbe1873939a27ad9b009f21f9 (patch) | |
tree | 70de5cb437ee8a4cba13d42027465134cc1afd6b /.clang-format | |
parent | eb59eca0d8ac15f8c1b7f1cd35999455a90292c0 (diff) | |
download | linux-9fbd35520f1f7f3cbe1873939a27ad9b009f21f9.tar.xz |
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: stable@vger.kernel.org # 5.8
Cc: Alexandre Bailon <abailon@baylibre.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # i.MX8MP MSC SM2-MB-EP1 Board
Link: https://lore.kernel.org/r/20230306075651.2449-5-johan+linaro@kernel.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions