commit | 990ec812e393ca4d31e4a889843a648a358b4a7c | [log] [tgz] |
---|---|---|
author | Vatsal Bucha <vbucha@codeaurora.org> | Tue Jun 19 11:43:30 2018 +0530 |
committer | Vatsal Bucha <vbucha@codeaurora.org> | Thu Jun 21 11:29:54 2018 +0530 |
tree | 974b46d996e241f57eea551ea56b57bf871eac17 | |
parent | 73c9a2142a397d37948206a44b2958258bec4175 [diff] |
ASoC: Fix NULL pointer dereference in digital suspend If soundcard registration has failed because of custom driver probe failure and at the same time msm_dig_suspend is called, this will lead to null pointer dereference when component is accessed. Add NULL check to avoid this. CRs-Fixed: 2263005 Change-Id: If04ec624e45f05ebe08ee6500ccb13e3c8287051 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>