commit | d06e6a199d1a646dba7ab877d7e88a17eab8f629 | [log] [tgz] |
---|---|---|
author | Aviral Gupta <aviralg@codeaurora.org> | Tue Apr 08 11:37:50 2014 +0530 |
committer | Aviral Gupta <aviralg@codeaurora.org> | Sun Apr 20 12:56:29 2014 +0530 |
tree | e1da6a7a831a047250bfe5a99f1b14b5a2cd0ace | |
parent | 2025f0af8bf882d67fbbd51cc6f645ff4d145a0f [diff] |
ASoC: msm: fix the target crash due to the NULL pointer dereference During the close of the FE, the mclk is disabled which accesses the codec drv data. In case if the tapan codec was not initialized, then close sequence will result in the null pointer dereference. Fix by adding a null check before accessing the codec data structure. CRs-Fixed: 635065 Change-Id: I0678826d073a69b99a05a5b628920be89d210519 Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>