From: Oder Chiou Date: Mon, 12 Jun 2017 03:02:17 +0000 (+0800) Subject: ASoC: rt5663: Check the JD status in the resume function X-Git-Tag: v4.13-rc1~142^2~1^2~7^4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=17616ce62c84c94e9519574e9d2df6f20e80a285;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- 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