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

Commit 170d970a authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

firmware: qcom_scm: Fix the __qcom_scm_is_call_available



secure communication QCOM_IS_CALL_AVAIL_CMD function should be
using normal secure call instead of fast call. So fix the
 __qcom_scm_is_call_available() to use normal scm call
qcom_scm_call().

Change-Id: Ie8bb79d112e02f66383e1eb561bc78accdce9b4f
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 4aa821fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1032,7 +1032,7 @@ int __qcom_scm_is_call_available(struct device *dev, u32 svc_id, u32 cmd_id)
		return -EINVAL;
	}

	ret = qcom_scm_call_atomic(dev, &desc);
	ret = qcom_scm_call(dev, &desc);

	return ret ? : desc.res[0];
}