Преглед изворни кода

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