mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "qseecom: Propagate correct return value from TZ"
This commit is contained in:
commit
aed3a1d275
1 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue