interconnect: qcom: Use icc_sync_state
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 25 Aug 2020 17:01:52 +0000 (20:01 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 18 Sep 2020 05:57:18 +0000 (08:57 +0300)
commit7d3b0b0d8184ce4a20fd9f48cd12484139bec939
treece52a4b5e00815cc28de4a5a6c98699f21e4a813
parentb1d681d8d32499bcf284462d92aeb5f9fe72bf5b
interconnect: qcom: Use icc_sync_state

Lowering the bandwidth on the bus might have negative consequences if
it's done before all consumers had a chance to cast their vote. Now by
default the framework sets the bandwidth to maximum during boot. We need
to use the icc_sync_state callback to notify the framework when all
consumers are probed and there is no need to keep the bandwidth set to
maximum anymore.

Link: https://lore.kernel.org/r/20200825170152.6434-4-georgi.djakov@linaro.org
Reviewed-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/osm-l3.c
drivers/interconnect/qcom/sc7180.c
drivers/interconnect/qcom/sdm845.c