diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-03-01 07:46:44 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-03 23:04:30 -0500 |
commit | 48b5e1fb883c8c72b50ee1ccd3ee51e4f53f632f (patch) | |
tree | ffc44b789c1d62a575b35e7940caeb11d89b6e9d | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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 d3398ff ('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: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/wm8753.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index be85da93a268..a02e76c248f6 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c | |||
@@ -1440,7 +1440,6 @@ static void wm8753_work(struct work_struct *work) | |||
1440 | static int wm8753_suspend(struct snd_soc_codec *codec) | 1440 | static int wm8753_suspend(struct snd_soc_codec *codec) |
1441 | { | 1441 | { |
1442 | wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF); | 1442 | wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF); |
1443 | codec->cache_sync = 1; | ||
1444 | return 0; | 1443 | return 0; |
1445 | } | 1444 | } |
1446 | 1445 | ||