commit | dc8a6ea74eb817f074a94d0de41c0f8169d418f2 | [log] [tgz] |
---|---|---|
author | Ravishankar Sarawadi <crsaraw@codeaurora.org> | Thu May 02 18:17:28 2013 -0700 |
committer | Ravishankar Sarawadi <crsaraw@codeaurora.org> | Fri May 03 10:56:50 2013 -0700 |
tree | ccb4f0af5fb75e590877039b26c481660e695e9b | |
parent | 102e10467b3f5dce18fa0a95ecea5f2acfe57cf8 [diff] |
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: Ravishankar Sarawadi <crsaraw@codeaurora.org>