]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
interconnect: qcom: Only wait for completion in AMC/WAKE by default
authorMike Tipton <mdtipton@codeaurora.org>
Thu, 3 Sep 2020 19:21:48 +0000 (12:21 -0700)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 8 Sep 2020 13:28:56 +0000 (16:28 +0300)
commitdb474be2b6b8fa1b3e2c8eb388f8d1b5cfeae674
treed96b8045f3b372386bb4b1978f409c4a722b66c7
parentb92902fddf42003d4c8e3816e3fbf8caea540440
interconnect: qcom: Only wait for completion in AMC/WAKE by default

Change the default TCS wait behavior to only wait for completion in AMC
and WAKE. Waiting isn't necessary in the SLEEP TCS, since votes are only
being removed in this case. Resources can be safely disabled
asynchronously in parallel with the rest of the power collapse sequence.
This reduces the sleep entry latency.

Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Link: https://lore.kernel.org/r/20200903192149.30385-6-mdtipton@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/bcm-voter.c