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

Commit aa5e0248 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 d65ffd77 64517d01
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -81,6 +81,8 @@ static inline int smc_fastcall(void *fc_generic, size_t size)
		SCM_MOBIOS_FNID(SCM_SVC_MOBICORE, SCM_CMD_MOBICORE),
		&desc);

	dmac_flush_range(scm_buf, scm_buf + size);

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