summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-03-06 08:56:46 +0100
committerGeorgi Djakov <djakov@kernel.org>2023-03-13 20:13:48 +0100
commitabd9f1b49cf25eebeaba193c7707355be3f48dae (patch)
tree19a67a9d5ae54ec920850ed25ac802a6a2341f2c /kernel/async.c
parentmemory: tegra: fix interconnect registration race (diff)
downloadlinux-abd9f1b49cf25eebeaba193c7707355be3f48dae.tar.xz
linux-abd9f1b49cf25eebeaba193c7707355be3f48dae.zip
memory: tegra124-emc: fix interconnect 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: 380def2d4cf2 ("memory: tegra124: Support interconnect framework") Cc: stable@vger.kernel.org # 5.12 Cc: Dmitry Osipenko <digetx@gmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230306075651.2449-19-johan+linaro@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions