瀏覽代碼

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",