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: Meng Wang <mwang@codeaurora.org>
1 file changed