ASoC: wcd9xxx: Correct wrong check conditions
1) For targets where micbias is shared, we do not
use vddio to identify special headset. We want
micbias to be enabled always with any headset
inserted for such targets. Currently, if headset is
inserted during recording, we check for this vddio
flag as well. Since, it is null for the above mentioned
targets, we never touch the code to enable micbias
always for any type of headset.
2) Again for the above mentioned targets, if micbias
is enabled by voice call, and we insert the headset.
Now if headset is removed, we try force diable of
micbias. This results in Tx mute. The count to disable
micbias needs to be corrected.
Change-Id: I022a54578c47485ebf7eef27c405e31ea6395ecf
Signed-off-by:
Simmi Pateriya <simmip@codeaurora.org>
Loading
Please register or sign in to comment