linux/drivers/interconnect/imx
Johan Hovold 9fbd35520f 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: f0d8048525 ("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>
2023-03-07 22:19:05 +02:00
..
imx8mm.c interconnect: imx: Make imx_icc_unregister() return void 2022-08-18 07:20:41 +03:00
imx8mn.c interconnect: imx: Make imx_icc_unregister() return void 2022-08-18 07:20:41 +03:00
imx8mp.c interconnect: imx: Make imx_icc_unregister() return void 2022-08-18 07:20:41 +03:00
imx8mq.c interconnect: imx: Make imx_icc_unregister() return void 2022-08-18 07:20:41 +03:00
imx.c interconnect: imx: fix registration race 2023-03-07 22:19:05 +02:00
imx.h interconnect: imx: Make imx_icc_unregister() return void 2022-08-18 07:20:41 +03:00
Kconfig interconnect: imx: Add platform driver for imx8mp 2022-07-15 17:53:15 +03:00
Makefile interconnect: imx: Add platform driver for imx8mp 2022-07-15 17:53:15 +03:00