diff options
author | Harshal Ahire <hahire@codeaurora.org> | 2020-11-24 12:35:41 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-12-02 19:04:26 -0800 |
commit | 268b53524e4e6bb7e2beb725d34449a3dcab0cde (patch) | |
tree | 72bc59126c6372202092d8ef9e644a5e1659b281 | |
parent | da624e59932bf7bfdf1a1f835d2ad42fe825c1bd (diff) |
hal: adsprpcd: Prevent fastrpc daemon from exiting during SSR
During SSR fastrpc daemon exits leading to restart of audioadsprpcd_audiopd
with delay of apprx. 5 seconds. During this delay if any dyanmic modules are
required by audio-usecase won't be loaded leading to usecase failure.
Change-Id: I8ae475a8b7d5af01ab7f15fc61fb4401984346dc
-rw-r--r-- | adsprpcd/adsprpcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adsprpcd/adsprpcd.c b/adsprpcd/adsprpcd.c index 96f16ecc..a44c0133 100644 --- a/adsprpcd/adsprpcd.c +++ b/adsprpcd/adsprpcd.c @@ -65,8 +65,7 @@ int main(int argc, char *argv[]) { VERIFY_EPRINTF("audio adsp daemon error %s", dlerror()); } if (nErr == AEE_ECONNREFUSED) { - VERIFY_EPRINTF("fastRPC device driver is disabled, daemon exiting..."); - break; + VERIFY_EPRINTF("fastRPC device driver is disabled, retrying..."); } VERIFY_EPRINTF("audio adsp daemon will restart after 25ms..."); usleep(25000); |