OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a4b57
)
ASoC: rt5682: Adjust headset volume button threshold
author
Derek Fang
<derek.fang@realtek.com>
Wed, 21 Jul 2021 13:31:21 +0000
(21:31 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 22 Jul 2021 11:40:00 +0000
(12:40 +0100)
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>
sound/soc/codecs/rt5682.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5682.c
b/sound/soc/codecs/rt5682.c
index
abcd6f4
..
51ecaa2
100644
(file)
--- 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)