ASoC: max98090: sync regcache on entering STANDBY
authorDylan Reid <dgreid@chromium.org>
Wed, 12 Feb 2014 18:24:54 +0000 (10:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 05:30:06 +0000 (21:30 -0800)
commitecbda0477f80d6aba7515f8d32169503c6d490fb
treef885dcb321fde282c165e325cb4c46420bf93d9f
parent5a03bc087c33d172b46469ffbe669cd071b2cf45
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/max98090.c