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

Commit 7af6a8b6 authored by Shalini Manjunatha's avatar Shalini Manjunatha
Browse files

asoc: wcd938x/wcd937x: add null pointer check for mbhc variable



Whenever MBHC is disabled through kernel config file,
particular vaiable of mbhc is not guarded for NULL
pointer check causing kernel panic,
Hence add NULL check for that pointer variable.

Change-Id: Iae4950ceb076239a130b4f033cb2f08cd65a92a9
Signed-off-by: default avatarShalini Manjunatha <quic_c_shalma@quicinc.com>
parent 1ff3e5bc
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