Browse Source

ASoC: codecs: wcd934x: Fix slimbus overflow

Remove MCLK_CONTROL and FS_CNT_CONTROL from
the list of volatile registers so that regmap
sync happens for these registers when coming
out of power collapse. These clock registers
need to be synced otherwise codec state is not
restored correctly after power collapse.

CRs-fixed: 2053506
Change-Id: I9b5385a357f9ad05ad085603410704e916e3985e
Signed-off-by: Karthikeyan Mani <[email protected]>
Karthikeyan Mani 7 years ago
parent
commit
5eaced6d70
1 changed files with 0 additions and 2 deletions
  1. 0 2
      asoc/codecs/wcd934x/wcd934x-regmap.c

+ 0 - 2
asoc/codecs/wcd934x/wcd934x-regmap.c

@@ -1932,12 +1932,10 @@ static bool wcd934x_is_volatile_register(struct device *dev, unsigned int reg)
 	case WCD934X_ANA_BIAS:
 	case WCD934X_ANA_BUCK_CTL:
 	case WCD934X_ANA_RCO:
-	case WCD934X_CDC_CLK_RST_CTRL_MCLK_CONTROL:
 	case WCD934X_CODEC_RPM_CLK_GATE:
 	case WCD934X_BIAS_VBG_FINE_ADJ:
 	case WCD934X_CODEC_CPR_SVS_CX_VDD:
 	case WCD934X_CODEC_CPR_SVS2_CX_VDD:
-	case WCD934X_CDC_CLK_RST_CTRL_FS_CNT_CONTROL:
 		return true;
 	}