]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Fix the vol+ button detection issue
authorDerek Fang <derek.fang@realtek.com>
Wed, 25 Aug 2021 04:03:46 +0000 (12:03 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 25 Aug 2021 13:15:46 +0000 (14:15 +0100)
commitf515e92142634d53d706a0e98a7d02bd41cd9e79
tree4e0302276ee59bcd8cbe7c88a31880f14e2d49c2
parentc7b9c6148e9a28a8e334d2d51ec7cb21d300dfe2
ASoC: rt5682: Fix the vol+ button detection issue

Fix the wrong button vol+ detection issue with some brand headsets
by fine tuning the threshold of button vol+ and SAR ADC button accuracy.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20210825040346.28346-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c