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

Commit 48b5e1fb authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown
Browse files

ASoC: wm8753: Remove superfluous 'codec->cache_sync = 1'



The wm8763 driver uses regmap for IO which means that codec->cache_sync is not
used. The line was added in commit d3398ff0 ('ASoC: Convert WM8753 to direct
regmap API usage'). Presumably this was meant to be regcache_mark_dirty(), but
since we already call regcache_mark_dirty() in the core when suspending the
CODEC it is safe to just remove the line.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1440,7 +1440,6 @@ static void wm8753_work(struct work_struct *work)
static int wm8753_suspend(struct snd_soc_codec *codec)
static int wm8753_suspend(struct snd_soc_codec *codec)
{
{
	wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
	wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
	codec->cache_sync = 1;
	return 0;
	return 0;
}
}