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)
commit8d3019b63b3d92c9b5f1548f600485d39262bbe1
tree4e0302276ee59bcd8cbe7c88a31880f14e2d49c2
parentdc2d01c754c378a4748ac72c5516d45da7640123
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