diff options
author | Bard Liao <bardliao@realtek.com> | 2016-01-05 09:22:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-05 14:33:59 +0300 |
commit | 15b0f4d4b169dde8ecc4e162bcd6cd145cb09fed (patch) | |
tree | b89ba14a2038a877e7d28e6dfff5225b1ee86fc5 /sound/soc/codecs/rt5645.c | |
parent | e2973769372a3de1c20249206db5ee93287a2230 (diff) | |
download | linux-15b0f4d4b169dde8ecc4e162bcd6cd145cb09fed.tar.xz |
ASoC: rt5645: improve IRQ reaction time for HS button
IRQ reaction time is not immediate when headset putton is pressed.
This patch shortens the reaction time.
Signed-off-by: John Lin <john.lin@realtek.com>
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index bd23496a56ff..4b079d189aac 100644 --- 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, |