Skip to contentSkip to conversation

Revert "ASoC: rt5682: Adjust headset volume button threshold"

PATCH In review [email protected] 1 participant 3 messages Aug 2, 2021 – Aug 3, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Revert "ASoC: rt5682: Adjust headset volume button threshold"

From: Derek Fang <[email protected]>

This reverts commit 6d20bf7c020f417fdef1810a22da17c126603472. Since it may risk affecting other headset Vol- button.

sound/soc/codecs/rt5682.c +0 -1
index 7dc01ae6bb66..fcf442b8a732 100644
@@ -44,7 +44,6 @@ 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)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 ASoC: rt5682: Adjust the headset volume button threshold

From: Derek Fang <[email protected]>

Set a safe threshold of headset button volume+ to fix the wrong button detection issue with some brand headsets.

sound/soc/codecs/rt5682.c +1 -0
index fcf442b8a732..fad827368c5e 100644
@@ -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)
Signature · 1 line
2.17.1
#2 lore raw

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

Hi Mark,

Please ignore this patch.

Sorry.

Thanks,

Derek

________________________________
寄件者: Derek [方德義]
寄件日期: 2021年8月2日 下午 08:37
收件者: [email protected]; [email protected]
副本: [email protected]; [email protected]; Flove(HsinFu); Oder Chiou; Jack Yu; Shuming [范書銘]; Albert Chen; Derek [方德義] 主旨: [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold

From: Derek Fang <[email protected]>

Set a safe threshold of headset button volume+ to fix the wrong button detection issue with some brand headsets.

sound/soc/codecs/rt5682.c +1 -0
index fcf442b8a732..fad827368c5e 100644
@@ -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)

--
2.17.1