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

Commit 4be31986 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: wsa881x: Add regcache mark dirty before regcache sync"

parents 4980a429 a4cb88ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1240,7 +1240,6 @@ static int wsa881x_swr_down(struct swr_device *pdev)
		dev_err(&pdev->dev, "%s: wsa881x is NULL\n", __func__);
		return -EINVAL;
	}
	regcache_mark_dirty(wsa881x->regmap);
	ret = wsa881x_gpio_ctrl(wsa881x, false);
	if (ret)
		dev_err(&pdev->dev, "%s: Failed to disable gpio\n", __func__);
@@ -1261,6 +1260,7 @@ static int wsa881x_swr_reset(struct swr_device *pdev)
	}
	wsa881x->bg_cnt = 0;
	wsa881x->clk_cnt = 0;
	regcache_mark_dirty(wsa881x->regmap);
	regcache_sync(wsa881x->regmap);
	return 0;
}