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

Commit df496d60 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "fix corrupted smc_fastcall returned error code TBUG-464"

parents eacc6fd8 5040ae5f
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -84,6 +84,8 @@ static inline int smc_fastcall(void *fc_generic, size_t size)
		SCM_MOBIOS_FNID(SCM_SVC_MOBICORE, SCM_CMD_MOBICORE),
		SCM_MOBIOS_FNID(SCM_SVC_MOBICORE, SCM_CMD_MOBICORE),
		&desc);
		&desc);


	dmac_flush_range(scm_buf, scm_buf + size);

	memcpy(fc_generic, scm_buf, size);
	memcpy(fc_generic, scm_buf, size);
	kfree(scm_buf);
	kfree(scm_buf);
	return ret;
	return ret;