Skip to content

Commit db474be

Browse files
Mike TiptonGeorgi Djakov
authored andcommitted
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>
1 parent b92902f commit db474be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/interconnect/qcom/bcm-voter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static int qcom_icc_bcm_voter_probe(struct platform_device *pdev)
352352
voter->np = np;
353353

354354
if (of_property_read_u32(np, "qcom,tcs-wait", &voter->tcs_wait))
355-
voter->tcs_wait = QCOM_ICC_TAG_ALWAYS;
355+
voter->tcs_wait = QCOM_ICC_TAG_ACTIVE_ONLY;
356356

357357
mutex_init(&voter->lock);
358358
INIT_LIST_HEAD(&voter->commit_list);

0 commit comments

Comments
 (0)