projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2728e
)
ASoC: rt5663: Check the JD status in the resume function
author
Oder Chiou
<oder_chiou@realtek.com>
Mon, 12 Jun 2017 03:02:17 +0000
(11:02 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 13 Jun 2017 18:32:08 +0000
(19:32 +0100)
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>
sound/soc/codecs/rt5663.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5663.c
b/sound/soc/codecs/rt5663.c
index 8569e8c7d89402ae986ab63d53dd76d62161663a..a33202affeb123aca338303d9d9c61bd7d5f5f39 100644
(file)
--- 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