projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e297376
)
ASoC: rt5645: improve IRQ reaction time for HS button
author
Bard Liao
<
[email protected]
>
Tue, 5 Jan 2016 06:22:11 +0000
(14:22 +0800)
committer
Mark Brown
<
[email protected]
>
Tue, 5 Jan 2016 11:33:59 +0000
(11:33 +0000)
IRQ reaction time is not immediate when headset putton is pressed.
This patch shortens the reaction time.
Signed-off-by: John Lin <
[email protected]
>
Signed-off-by: Bard Liao <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5645.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index bd23496a56ffe3a2d34171617d78c2261c86b2aa..4b079d189aac36ff5a96b3e6e8eaf81db6f84794 100644
(file)
--- a/
sound/soc/codecs/rt5645.c
+++ b/
sound/soc/codecs/rt5645.c
@@
-3062,6
+3062,7
@@
static void rt5645_enable_push_button_irq(struct snd_soc_codec *codec,
snd_soc_dapm_force_enable_pin(dapm, "ADC R power");
snd_soc_dapm_sync(dapm);
+ snd_soc_update_bits(codec, RT5650_4BTN_IL_CMD1, 0x3, 0x3);
snd_soc_update_bits(codec,
RT5645_INT_IRQ_ST, 0x8, 0x8);
snd_soc_update_bits(codec,