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

Skip to content
Commit 5d9e4ba7 authored by Ravishankar Sarawadi's avatar Ravishankar Sarawadi Committed by Stephen Boyd
Browse files

msm: audio: qdsp6v2: Add NULL check for mmap APR handle



In addtion to mmap ref_cnt check, add condition to check for
mmap APR handle NULL before calling APR register.

As part adsp subsystem restart handling, mmap APR handle is set to
NULL in reset event handling. Checking for mmap APR handle will
allow APR registration to succeed post adsp subsystem restart.

Change-Id: Id1945467616c1c0331b0627d14dabdbc24a0acdd
Signed-off-by: default avatarRavishankar Sarawadi <crsaraw@codeaurora.org>
parent f11b745d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment