commit | 379cf066200799b3b807438b5e44642c7ebcae07 | [log] [tgz] |
---|---|---|
author | Asish Bhattacharya <asishb@codeaurora.org> | Fri Mar 28 12:27:50 2014 +0530 |
committer | Asish Bhattacharya <asishb@codeaurora.org> | Thu Apr 03 10:53:58 2014 +0530 |
tree | a74fe06ef7d9a32fff21e052072832207bf73059 | |
parent | bb20c091c53fc350044c4178ac8236bec6deeae7 [diff] |
ASoC: msm: ensure check before accessing session private data. The compressed session needs to be active to set volume to dsp. Ensure the check to see valid session exist before accessing private data, else results in kernel panic. The Memory allocation for driver data also needs to be freed for failure in session open. CRs-Fixed: 638817 Change-Id: Ifdce543aa55df420960e9eeff0564f18d9410060 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>