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

Commit c995c7ad authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "firmware: qcom_scm: fix the arguments types information"

parents cf221d2a 632d6b23
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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];