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>
1 file changed