---------- Forwarded message ---------- From: Leon Romanovsky <[email protected]> Date: Tue, Oct 18, 2011 at 21:30 Subject: [PATCH 1/3] ASoC: Ensuring correctness of the register cache To: [email protected] Cc: Leon Romanovsky <[email protected]>
Filling cache routine must be called just before entering to the suspend state to ensure correctness of the register cache. Signed-off-by: Leon Romanovsky <[email protected]> --- sound/soc/codecs/alc5632.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c index 2c2b9a2..47ab151 100644 --- a/sound/soc/codecs/alc5632.c +++ b/sound/soc/codecs/alc5632.c @@ -876,6 +876,7 @@ static struct snd_soc_dai_driver alc5632_dai = { static int alc5632_suspend(struct snd_soc_codec *codec, pm_message_t mesg) { + alc5632_fill_cache(codec); alc5632_set_bias_level(codec, SND_SOC_BIAS_OFF); return 0; } @@ -996,7 +997,6 @@ static int alc5632_probe(struct snd_soc_codec *codec) } alc5632_reset(codec); - alc5632_fill_cache(codec); /* power on device */ alc5632_set_bias_level(codec, SND_SOC_BIAS_STANDBY); -- 1.7.3.4 -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | [email protected] _______________________________________________ Mailing list: https://launchpad.net/~ac100 Post to : [email protected] Unsubscribe : https://launchpad.net/~ac100 More help : https://help.launchpad.net/ListHelp

