asoc: codecs: wcd934x: Add NULL checks for mbhc
Add NULL checks for mbhc in tavil driver to avoid
NULL pointer dereferences when MBHC is not supported.
Change-Id: I43bfd062af6048486256f744bd028b27fedc7f53
Signed-off-by:
Aditya Bavanari <abavanar@codeaurora.org>
Loading
Please register or sign in to comment