Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 990ec812 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

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: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 73c9a214
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment