interconnect: qcom: sdm845: Init BCMs before creating the nodes
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 13 Oct 2020 13:59:12 +0000 (16:59 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 15 Oct 2020 06:24:00 +0000 (09:24 +0300)
commit0f221a729049ab727c87b0fe47e309b952d879ce
tree9b004546e1c05086a76ab5e9d295af346af7f137
parentd3703b3e255f56d543aac183f8aafdbfd7096559
interconnect: qcom: sdm845: Init BCMs before creating the nodes

Currently if we use sync_state, by default the bandwidth is maxed out,
but in order to set this in hardware, the BCMs (Bus Clock Managers) need
to be initialized first. Move the BCM initialization before creating the
nodes to fix this.

Fixes: 7d3b0b0d8184 ("interconnect: qcom: Use icc_sync_state")
Acked-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201013135913.29059-2-georgi.djakov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/sdm845.c