diff mbox series

[2/2] ASoC: rt5682: Adjust the headset volume button threshold

Message ID 20210802123753.11762-2-derek.fang@realtek.com (mailing list archive)
State Superseded
Headers show
Series [1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" | expand

Commit Message

Derek [方德義] Aug. 2, 2021, 12:37 p.m. UTC
From: Derek Fang <derek.fang@realtek.com>

Set a safe 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>

Comments

Derek [方德義] Aug. 3, 2021, 12:50 p.m. UTC | #1
Hi Mark,


Please ignore this patch.

Sorry.



Thanks,

Derek
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index fcf442b8a732..fad827368c5e 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, 0x0110},
 };
 
 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev)