drivers: mfd: wcd934x: Set MBHC registers to volatile
MBHC mechanical detection, electrical detection and micbias registers are not getting updated in hardware after subsystem restart results in no IRQ during headset plug insertion. Set these MBHC registers to volatile for headset plug detection to work properly. Change-Id: Iaec3a17e5eed952ba0abdcffbf321ad942486769 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
46aa49c118
commit
8e77be66f9
1 changed files with 4 additions and 0 deletions
|
@ -1919,6 +1919,10 @@ static bool wcd934x_is_volatile_register(struct device *dev, unsigned int reg)
|
|||
case WCD934X_SIDO_NEW_VOUT_A_STARTUP:
|
||||
case WCD934X_SIDO_NEW_VOUT_D_STARTUP:
|
||||
case WCD934X_CODEC_RPM_PWR_CDC_DIG_HM_CTL:
|
||||
case WCD934X_ANA_MBHC_MECH:
|
||||
case WCD934X_ANA_MBHC_ELECT:
|
||||
case WCD934X_ANA_MBHC_ZDET:
|
||||
case WCD934X_ANA_MICB2:
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue