]> git.baikalelectronics.ru Git - kernel.git/commit
interconnect: Restore sync state by ignoring ipa-virt in provider count
authorStephen Boyd <swboyd@chromium.org>
Wed, 27 Apr 2022 01:32:26 +0000 (18:32 -0700)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 3 May 2022 19:24:21 +0000 (22:24 +0300)
commitd83aa382e974e96f472f55011cfa07bc4a49963f
treee0ec3e49e4aa72664f5f22b4307d90802e62621b
parent21a457055cb070e37d4864ac2cb92a34edab1266
interconnect: Restore sync state by ignoring ipa-virt in provider count

Ignore compatible strings for the IPA virt drivers that were removed in
commits 21a457055cb0 ("interconnect: qcom: sdx55: Drop IP0
interconnects") and ac66cfe9dddb ("interconnect: qcom: sc7180: Drop IP0
interconnects") so that the sync state logic can kick in again.
Otherwise all the interconnects in the system will stay pegged at max
speeds because 'providers_count' is always going to be one larger than
the number of drivers that will ever probe on sc7180 or sdx55. This
fixes suspend on sc7180 and sdx55 devices when you don't have a
devicetree patch to remove the ipa-virt compatible node.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Alex Elder <elder@linaro.org>
Cc: Taniya Das <quic_tdas@quicinc.com>
Cc: Mike Tipton <quic_mdtipton@quicinc.com>
Fixes: 21a457055cb0 ("interconnect: qcom: sdx55: Drop IP0 interconnects")
Fixes: ac66cfe9dddb ("interconnect: qcom: sc7180: Drop IP0 interconnects")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220427013226.341209-1-swboyd@chromium.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/core.c