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

Commit 7c259baf authored by Jiten Patel's avatar Jiten Patel
Browse files

qseecom: use legacy command for slateapp



use the legacy command for sending any data
to trusted application only if the app name
is slateapp.

Change-Id: Iecbe75c45b253ef87de3306b89b50c39008550fe
Signed-off-by: default avatarJiten Patel <jitepate@codeaurora.org>
parent 286149f5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5289,8 +5289,10 @@ int qseecom_send_command(struct qseecom_handle *handle, void *send_buf,
		}
		perf_enabled = true;
	}
	if (!strcmp(data->client.app_name, "securemm"))
	if (!strcmp(data->client.app_name, "securemm") ||
	    !strcmp(data->client.app_name, "slateapp")) {
		data->use_legacy_cmd = true;
	}

	dmac_flush_range(req.cmd_req_buf, req.cmd_req_buf + req.cmd_req_len);