summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2017-06-12 11:02:17 +0800
committerMark Brown <broonie@kernel.org>2017-06-13 19:32:08 +0100
commit17616ce62c84c94e9519574e9d2df6f20e80a285 (patch)
tree6d1a9d147eb42289b269e03fa204ba72a1666962
parentaf2728e4deb9f08721374f3adc06b1d3e7d133ec (diff)
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>
-rw-r--r--sound/soc/codecs/rt5663.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c
index 8569e8c7d894..a33202affeb1 100644
--- a/sound/soc/codecs/rt5663.c
+++ b/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