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: Prasad Sodagudi <psodagud@codeaurora.org>
This commit is contained in:
Prasad Sodagudi 2020-03-20 09:19:31 -07:00
commit 170d970a5c

View file

@ -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];
}