mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 06:41:06 -04:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user