Browse Source

Merge remote-tracking branch 'asoc/topic/ssm2602' into tmp

Mark Brown 11 years ago
parent
commit
5df498a27a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sound/soc/codecs/ssm2602.c

+ 2 - 1
sound/soc/codecs/ssm2602.c

@@ -561,8 +561,9 @@ static int ssm2602_suspend(struct snd_soc_codec *codec)
 
 static int ssm2602_resume(struct snd_soc_codec *codec)
 {
-	snd_soc_cache_sync(codec);
+	struct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata(codec);
 
+	regcache_sync(ssm2602->regmap);
 	ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
 
 	return 0;