Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17616ce6 authored by Oder Chiou's avatar Oder Chiou Committed by Mark Brown
Browse files

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: default avatarOder Chiou <oder_chiou@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent af2728e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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