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

Skip to content
Commit 02cbd6c2 authored by Meng Wang's avatar Meng Wang Committed by Walter Yang
Browse files

ASoC: wcd9xxx: check NULL for mbhc->resmgr->reg_addr



Check the mbhc->resmgr->reg_addr before getting the
mbhc->resmgr->reg_addr->micb_4_mbhc to avoid
 the null pointer crash

Change-Id: I8a6d8bda90a30782e68760b94cc52cd6ddd52af6
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent d648c8cf
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