Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2805942d authored by Harshal Ahire's avatar Harshal Ahire
Browse files

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
parent b1976118
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);