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: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
Meng Wang
2019-05-30 17:14:23 +08:00
والد efbe46a1c5
کامیت 930d9751a1

مشاهده پرونده

@@ -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)