mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
ASoC: bolero: Add check for CMPDR switch
Do not disable CMPDR for EAR if ear mode is on as it can lead to mute issues on ear. Change-Id: Ibf54fe6f14c5f08c2004fae36204398109ad53c1 Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
This commit is contained in:
parent
5a4223f249
commit
5f2bfaae5b
1 changed files with 2 additions and 1 deletions
|
|
@ -2691,7 +2691,8 @@ static void rx_macro_hphdelay_lutbypass(struct snd_soc_component *component,
|
|||
}
|
||||
|
||||
if (hph_lut_bypass_reg && SND_SOC_DAPM_EVENT_OFF(event)) {
|
||||
snd_soc_component_update_bits(component,
|
||||
if (!rx_priv->is_ear_mode_on)
|
||||
snd_soc_component_update_bits(component,
|
||||
BOLERO_CDC_RX_RX0_RX_PATH_CFG1,
|
||||
0x02, 0x00);
|
||||
snd_soc_component_update_bits(component, hph_lut_bypass_reg,
|
||||
|
|
|
|||
Loading…
Reference in a new issue