Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5eaced6d authored by Karthikeyan Mani's avatar Karthikeyan Mani
Browse files

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: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent 8f7ccc2e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
	}