qseecom: process smcinvoke callback request

add operation to deal with smcinvoke callback request

Change-Id: Ia79b380691dbda4298cdf088fe1a09280767ef17
Signed-off-by: Zhen Kong <[email protected]>
This commit is contained in:
Zhen Kong 2020-05-12 10:27:43 -07:00
commit b6215698c0
2 changed files with 9 additions and 1 deletions

View file

@ -2637,6 +2637,11 @@ err_resp:
case QSEOS_RESULT_SUCCESS:
case QSEOS_RESULT_INCOMPLETE:
break;
case QSEOS_RESULT_CBACK_REQUEST:
pr_warn("get cback req app_id = %d, resp->data = %d\n",
data->client.app_id, resp->data);
resp->resp_type = SMCINVOKE_RESULT_INBOUND_REQ_NEEDED;
break;
default:
pr_err("fail:resp res= %d,app_id = %d,lstr = %d\n",
resp->result, data->client.app_id, lstnr);