diff mbox series

ASoC: rt5682: Adjust headset volume button threshold

Message ID 20210721133121.12333-1-derek.fang@realtek.com
State Superseded
Headers show
Series ASoC: rt5682: Adjust headset volume button threshold | expand

Commit Message

Derek [方德義] July 21, 2021, 1:31 p.m. UTC
From: Derek Fang <derek.fang@realtek.com>

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>

Comments

Mark Brown July 22, 2021, 5:10 p.m. UTC | #1
On Wed, 21 Jul 2021 21:31:21 +0800, derek.fang@realtek.com wrote:
> Adjust the threshold of headset button volume+ to fix
> the wrong button detection issue with some brand headsets.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: rt5682: Adjust headset volume button threshold
      commit: 6d20bf7c020f417fdef1810a22da17c126603472

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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)