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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,


Please ignore this patch.

Sorry.



Thanks,

Derek


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

From: Derek Fang <derek.fang@xxxxxxxxxxx>

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@xxxxxxxxxxx>

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)
--
2.17.1





[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux