Commit db474be2 authored by Mike Tipton's avatar Mike Tipton Committed by Georgi Djakov

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: default avatarMike Tipton <mdtipton@codeaurora.org>
Link: https://lore.kernel.org/r/20200903192149.30385-6-mdtipton@codeaurora.orgSigned-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent b92902fd
...@@ -352,7 +352,7 @@ static int qcom_icc_bcm_voter_probe(struct platform_device *pdev) ...@@ -352,7 +352,7 @@ static int qcom_icc_bcm_voter_probe(struct platform_device *pdev)
voter->np = np; voter->np = np;
if (of_property_read_u32(np, "qcom,tcs-wait", &voter->tcs_wait)) if (of_property_read_u32(np, "qcom,tcs-wait", &voter->tcs_wait))
voter->tcs_wait = QCOM_ICC_TAG_ALWAYS; voter->tcs_wait = QCOM_ICC_TAG_ACTIVE_ONLY;
mutex_init(&voter->lock); mutex_init(&voter->lock);
INIT_LIST_HEAD(&voter->commit_list); INIT_LIST_HEAD(&voter->commit_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment