asoc: disconnect comp_l port when hph widget power down

when we enable compander for headphones, the quality
of hph playback is bad, since we have not disconnect
the right port, correct it.

Change-Id: I63ab0734870027109a7f032c47f8865083374a5b
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
This commit is contained in:
Yuhui Zhao
2024-04-23 16:56:43 +08:00
parent 5a30d22311
commit 6f212f3573

View File

@@ -1508,7 +1508,7 @@ static int wcd9378_codec_hphl_dac_event(struct snd_soc_dapm_widget *w,
if (wcd9378->comp1_enable) {
snd_soc_component_update_bits(component, WCD9378_CDC_COMP_CTL_0,
WCD9378_CDC_COMP_CTL_0_HPHL_COMP_EN_MASK, 0x00);
wcd9378_rx_connect_port(component, COMP_R, false);
wcd9378_rx_connect_port(component, COMP_L, false);
}
break;
default: