Merge "qseecom: Propagate correct return value from TZ"

This commit is contained in:
qctecmdr 2020-10-09 23:26:58 -07:00 • committed by Gerrit - the friendly Code Review server
commit aed3a1d275

View file

@ -3052,8 +3052,9 @@ static int __qseecom_unload_app(struct qseecom_dev_handle *data,
sizeof(struct qseecom_unload_app_ireq),
&resp, sizeof(resp));
if (ret) {
pr_err("scm_call to unload app (id = %d) failed\n", app_id);
return -EFAULT;
pr_err("scm_call to unload app (id = %d) failed ret: %d\n",
app_id, ret);
return ret;
}
switch (resp.result) {
case QSEOS_RESULT_SUCCESS: