Browse Source

ASoC: rt5663: Check the JD status in the resume function

In the suspend, the IRQ function will not work in some machines. So the JD
status should be checked in the resume function.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Oder Chiou 8 years ago
parent
commit
17616ce62c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sound/soc/codecs/rt5663.c

+ 2 - 0
sound/soc/codecs/rt5663.c

@@ -2847,6 +2847,8 @@ static int rt5663_resume(struct snd_soc_codec *codec)
 	regcache_cache_only(rt5663->regmap, false);
 	regcache_sync(rt5663->regmap);
 
+	rt5663_irq(0, rt5663);
+
 	return 0;
 }
 #else