drivers: mfd: wcd934x: Set CDC_TOP_TOP_CFG1 register as non-volatile

CDC_TOP_TOP_CFG1 register is used for setting VI_SENSE order.
Set this to non-volatile to avoid speaker protection calibration
failure.

CRs-Fixed: 2028565
Change-Id: If721514cdf79552d1c0fb6f72fa6799fe17a940d
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
This commit is contained in:
Rohit Kumar 2017-04-05 16:04:17 +05:30 committed by Gerrit - the friendly Code Review server
parent 6319cf033b
commit 9eac7a79db

View file

@ -1937,7 +1937,6 @@ static bool wcd934x_is_volatile_register(struct device *dev, unsigned int reg)
case WCD934X_BIAS_VBG_FINE_ADJ:
case WCD934X_CODEC_CPR_SVS_CX_VDD:
case WCD934X_CODEC_CPR_SVS2_CX_VDD:
case WCD934X_CDC_TOP_TOP_CFG1:
case WCD934X_CDC_CLK_RST_CTRL_FS_CNT_CONTROL:
return true;
}