summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fastrpc_apps_user.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c
index b380f63..a4c5c1f 100644
--- a/src/fastrpc_apps_user.c
+++ b/src/fastrpc_apps_user.c
@@ -1728,7 +1728,10 @@ remote_handle64 get_adsp_current_process1_handle(int domain) {
return hlist[domain].cphandle;
bail:
if (nErr != AEE_SUCCESS) {
- FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain);
+ if (hlist[domain].domainsupport)
+ FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain);
+ else if (!hlist[domain].nondomainsupport)
+ FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain);
}
return INVALID_HANDLE;
}