ASoC: max98090: sync regcache on entering STANDBY
authorDylan Reid <dgreid@chromium.org>
Wed, 12 Feb 2014 18:24:54 +0000 (10:24 -0800)
committerJiri Slaby <jslaby@suse.cz>
Wed, 5 Mar 2014 16:13:44 +0000 (17:13 +0100)
commit2b7cd16cd2192c7aeb2c372f8955e70488fae977
tree93775b742f378fb994a010e4c6ff12e4c40fa369
parent2fa08dea6fc382e07829788baa35cf0a11ca9e9f
ASoC: max98090: sync regcache on entering STANDBY

commit c42c8922c46d33ed769e99618bdfba06866a0c72 upstream.

Sync regcache when entering STANDBY from OFF.  ON isn't entered with
OFF as the current state, so the registers were not being re-synced
after suspend/resume.

The 98088 and 98095 already call regcache_sync from STANDBY.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/max98090.c