aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Fang2021-07-21 21:31:21 +0800
committerMark Brown2021-07-22 12:40:00 +0100
commit6d20bf7c020f417fdef1810a22da17c126603472 (patch)
tree747adee99216cb22592dcca19eed171be4f4025d
parentb9a4b57f423ff8ff9ab9b68a238bdc3e7678f723 (diff)
ASoC: rt5682: Adjust headset volume button threshold
Adjust the threshold of headset button volume+ to fix the wrong button detection issue with some brand headsets. Signed-off-by: Derek Fang <derek.fang@realtek.com> Link: https://lore.kernel.org/r/20210721133121.12333-1-derek.fang@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt5682.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index abcd6f483788..51ecaa2abcd1 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -44,6 +44,7 @@ static const struct reg_sequence patch_list[] = {
{RT5682_I2C_CTRL, 0x000f},
{RT5682_PLL2_INTERNAL, 0x8266},
{RT5682_SAR_IL_CMD_3, 0x8365},
+ {RT5682_SAR_IL_CMD_6, 0x0180},
};
void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev)