Commit abd9f1b
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: 380def2 ("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>1 parent 5553055 commit abd9f1b
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
| 1354 | + | |
1357 | 1355 | | |
1358 | 1356 | | |
1359 | 1357 | | |
1360 | 1358 | | |
1361 | 1359 | | |
1362 | | - | |
| 1360 | + | |
1363 | 1361 | | |
1364 | 1362 | | |
1365 | 1363 | | |
| |||
1380 | 1378 | | |
1381 | 1379 | | |
1382 | 1380 | | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1383 | 1385 | | |
1384 | 1386 | | |
1385 | 1387 | | |
1386 | 1388 | | |
1387 | | - | |
1388 | | - | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| |||
0 commit comments