소스 검색

asoc: codecs: add missing mbhc register for wcd9335

IN2P clamp state mbhc register was added in tavil codec
to fix fake insertion irq. Add this register in wcd9335
as well for proper indexing of mbhc registers.

Change-Id: I93038c4e215bd75b42e895835773b6854d523dd5
Signed-off-by: Karthikeyan Mani <[email protected]>
Karthikeyan Mani 6 년 전
부모
커밋
4d7fb3fca9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      asoc/codecs/wcd9335.c

+ 2 - 0
asoc/codecs/wcd9335.c

@@ -613,6 +613,8 @@ static struct wcd_mbhc_register
 			  WCD9335_MBHC_CTL_2, 0x03, 0, 0),
 	WCD_MBHC_REGISTER("WCD_MBHC_HS_COMP_RESULT",
 			  WCD9335_ANA_MBHC_RESULT_3, 0x08, 3, 0),
+	WCD_MBHC_REGISTER("WCD_MBHC_IN2P_CLAMP_STATE",
+			  WCD9335_ANA_MBHC_RESULT_3, 0x10, 4, 0),
 	WCD_MBHC_REGISTER("WCD_MBHC_MIC_SCHMT_RESULT",
 			  WCD9335_ANA_MBHC_RESULT_3, 0x20, 5, 0),
 	WCD_MBHC_REGISTER("WCD_MBHC_HPHL_SCHMT_RESULT",