소스 검색

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 <[email protected]>
Yuhui Zhao 1 년 전
부모
커밋
6f212f3573
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      asoc/codecs/wcd9378/wcd9378.c

+ 1 - 1
asoc/codecs/wcd9378/wcd9378.c

@@ -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: