[PATCH 11/23] interconnect: qcom: msm8974: fix registration race
Brian Masney
bmasney at redhat.com
Thu Feb 2 15:13:41 PST 2023
On Wed, Feb 01, 2023 at 11:15:47AM +0100, Johan Hovold wrote:
> 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: 4e60a9568dc6 ("interconnect: qcom: add msm8974 driver")
> Cc: stable at vger.kernel.org # 5.5
> Cc: Brian Masney <bmasney at redhat.com>
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
Reviewed-by: Brian Masney <bmasney at redhat.com>
More information about the linux-arm-kernel
mailing list