summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShivangi Kesharwani <quic_skesharw@quicinc.com>2022-11-30 10:37:56 +0530
committerShivangi Kesharwani <quic_skesharw@quicinc.com>2022-12-11 19:08:40 +0530
commit97d098dcb216798fc26bea5ef713532efddfdc84 (patch)
treeca9d4feab685b3b9acdad7138eb3f65b7db4fb57
parentac5fff3d4d0c95427918064f6ba1ff09db61dfb7 (diff)
downloadsecuremsm-97d098dcb216798fc26bea5ef713532efddfdc84.tar.gz
qseecom: use legacy command for slateapp
Use the legacy command for sending any data to trusted application if the app name is slateapp. As trusted application is not expecting sglistinfo in case of slate app load command. Test: 1) Loaded Slateapp ->Reboot->Run Slateapp load command. echo start > /sys/class/remoteproc/remoteproc0/state 2) Check Slateapp status cat /sys/class/remoteproc/remoteproc0/state --> running 3) Validated HLOS and Qseelogs Change-Id: Iecbe75c45b253ef87de3306b89b50c39008550fe Signed-off-by: Shivangi Kesharwani <quic_skesharw@quicinc.com>
-rw-r--r--qseecom/qseecom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/qseecom/qseecom.c b/qseecom/qseecom.c
index cbfd0f9..760b1ec 100644
--- a/qseecom/qseecom.c
+++ b/qseecom/qseecom.c
@@ -5288,8 +5288,10 @@ static 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;
+ }
ret = __qseecom_send_cmd(data, &req, false);