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

Skip to content
Commit 5a51c2c5 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: sdm660_cdc: Add null check in msm_dig_suspend



In digital codec, null codec pointer access can happen
in suspend call if module register happen with pm_ops
but soc codec register failed for some reason. Add null
check in msm_dig_suspend API to avoid crash scenarios.

Change-Id: I15acb69a1851b7865d2b3aa1b7cb70a4a73c63e3
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 54344bae
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