commit | 83cd3b8a6eb2e7d6b0a6ce0dc3387394824970bf | [log] [tgz] |
---|---|---|
author | Phani Kumar Uppalapati <phanik@codeaurora.org> | Tue Mar 05 14:45:28 2013 -0800 |
committer | Phani Kumar Uppalapati <phanik@codeaurora.org> | Tue Mar 05 14:56:22 2013 -0800 |
tree | e641983fd454479bdc0729870a441c36ca325a60 | |
parent | 716615b55d04de7a289903f9f66a6989de098e57 [diff] |
ASoC: msm: Avoid accessing audio client in cases of hw_params failure When asm session open fails in hw_params, it frees up audio_client. However, the subsequent session close call tries to access this freed audio client memory. Add check inside session close to avoid this invalid access. Change-Id: I63d59566916172c2827dd88aacf6c0a094bf90a9 CRs-fixed: 458359 Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>