Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c1235df authored by AnilKumar Chimata's avatar AnilKumar Chimata Committed by Gerrit - the friendly Code Review server
Browse files

qseecom: use scm_call2 when bus_scaling is enabled



smcinvoke is not enabled on low-tier targets that need HLOS
to scale bus bandwidth explicitly, so it can still use
scm_call2 and then keep original bus scaling logic to avoid
bus scaling regression issue.

Change-Id: I3484109b58d1023e8732bf7f08a485b78f18ef65
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
Signed-off-by: default avatarAnilKumar Chimata <anilc@codeaurora.org>
parent 12af5e39
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -445,6 +445,9 @@ static int __qseecom_scm_call2_locked(uint32_t smc_id, struct scm_desc *desc)
	int ret = 0;
	int retry_count = 0;

	if (qseecom.support_bus_scaling)
		return scm_call2(smc_id, desc);

	do {
		ret = scm_call2_noretry(smc_id, desc);
		if (ret == -EBUSY) {