From 95ae01cb3898b93bf2ded13d72ea83c288cf1dcf Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Wed, 16 Dec 2020 17:22:12 +0800 Subject: [PATCH] Revert "ASoC: codecs: max98373-sdw: align regmap use with other codecs" This reverts commit 37740626abc68e0f11918c86d35fb1526f721e77. The commit will cause max98373-sdw no sound issue. Fixes: https://github.com/thesofproject/linux/issues/2637 Signed-off-by: Bard Liao --- sound/soc/codecs/max98373-sdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98373-sdw.c b/sound/soc/codecs/max98373-sdw.c index ad2d5d6a2fe413..477f0a086dc760 100644 --- a/sound/soc/codecs/max98373-sdw.c +++ b/sound/soc/codecs/max98373-sdw.c @@ -247,7 +247,7 @@ static __maybe_unused int max98373_suspend(struct device *dev) struct max98373_priv *max98373 = dev_get_drvdata(dev); regcache_cache_only(max98373->regmap, true); - + regcache_mark_dirty(max98373->regmap); return 0; }