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

Skip to content
Commit 11dab54c authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

platform/msm: fix audio codec function pointer update



Fix the audio codec function pointer update by validating the
existing pointer before attempting to clear it. This check is
necessary in order to avoid a possible null deference during
the cable disconnect use case when the audio codec has not
been previously registered.

Change-Id: I7b3bd3dd4a83f335799f960a68391c272af256e0
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 870ded18
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