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

Commit 930d9751 authored by Meng Wang's avatar Meng Wang
Browse files

asoc: bolero: restore all codec registers after SSR



Some bolero codec registers are not correctly restored after
SSR and causes DMICs on bolero don't work. Add this change to
restore all bolero codec registers after SSR.

Change-Id: I3666a77f802f62452a0e0de4859f48a0f9e5cbb1
Signed-off-by: default avatarMeng Wang <mengw@codeaurora.org>
parent efbe46a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -623,6 +623,8 @@ static int bolero_ssr_enable(struct device *dev, void *data)
	mutex_lock(&priv->clk_lock);
	priv->dev_up = true;
	mutex_unlock(&priv->clk_lock);
	regcache_mark_dirty(priv->regmap);
	regcache_sync(priv->regmap);
	/* call ssr event for supported macros */
	for (macro_idx = START_MACRO; macro_idx < MAX_MACRO; macro_idx++) {
		if (!priv->macro_params[macro_idx].event_handler)