mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
firmware: qcom_scm: fix the arguments types information
Updated the arginfo of scm descriptor for __qcom_scm_mem_protect_sd_ctrl scm call. Change-Id: I0274f972eb366e1dad80d17c55b326a9a447618d Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
This commit is contained in:
parent
4fbfcf8302
commit
632d6b23ec
1 changed files with 2 additions and 1 deletions
|
|
@ -1332,7 +1332,8 @@ int __qcom_scm_mem_protect_sd_ctrl(struct device *dev, u32 devid,
|
|||
desc.args[1] = mem_addr;
|
||||
desc.args[2] = mem_size;
|
||||
desc.args[3] = vmid;
|
||||
desc.arginfo = QCOM_SCM_ARGS(4);
|
||||
desc.arginfo = QCOM_SCM_ARGS(4, QCOM_SCM_VAL,
|
||||
QCOM_SCM_RW, QCOM_SCM_VAL, QCOM_SCM_VAL);
|
||||
ret = qcom_scm_call(dev, &desc);
|
||||
|
||||
return ret ? : desc.res[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue