Explorar o código

ASoC: wcd937x: Add alias for in2p clamp register

Add alias for in2p clamp register to check in2p
clamp state in insertion irq and ignore the interrupt
if the clamp is already set.

Change-Id: Ibd4ff2cef8690894a01072e74ce130f824656f5d
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha %!s(int64=6) %!d(string=hai) anos
pai
achega
9bdadace52
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      asoc/codecs/wcd937x/wcd937x-mbhc.c

+ 2 - 0
asoc/codecs/wcd937x/wcd937x-mbhc.c

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