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

Commit a57d36c9 authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

firmware: qcom_scm: fix for missing listener id



__qcom_scm_invoke_smc() receives buffer to pass data received
in ret[2] but fails to copy data. Fixing the issue by copying
data into buffer.

Change-Id: Ia448f6c9ef680e8c1e98c6bf62f6f125d0dabddc
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent e2298d13
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1944,6 +1944,9 @@ int __qcom_scm_invoke_smc(struct device *dev, phys_addr_t in_buf,
	if (response_type)
		*response_type = desc.res[0];

	if (data)
		*data = desc.res[2];

	return ret;
}