diff mbox series

ASoC: rt5682: change SAR voltage threshold

Message ID 20201126092759.9427-1-shumingf@realtek.com (mailing list archive)
State Accepted
Commit aa4cb898b80a28a610e26d1513e6dd42d995c225
Headers show
Series ASoC: rt5682: change SAR voltage threshold | expand

Commit Message

Shuming [θŒƒζ›ΈιŠ˜] Nov. 26, 2020, 9:27 a.m. UTC
From: Shuming Fan <shumingf@realtek.com>

To fix errors in some 4 poles headset detection cases,
this patch adjusts the voltage threshold for mic detection.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
---
 sound/soc/codecs/rt5682.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Nov. 26, 2020, 8:05 p.m. UTC | #1
On Thu, 26 Nov 2020 17:27:59 +0800, shumingf@realtek.com wrote:
> To fix errors in some 4 poles headset detection cases,
> this patch adjusts the voltage threshold for mic detection.

Applied to

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

Thanks!

[1/1] ASoC: rt5682: change SAR voltage threshold
      commit: aa4cb898b80a28a610e26d1513e6dd42d995c225

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 f299b30f4f59..4d865edadd7e 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -43,6 +43,7 @@  static const struct reg_sequence patch_list[] = {
 	{RT5682_DAC_ADC_DIG_VOL1, 0xa020},
 	{RT5682_I2C_CTRL, 0x000f},
 	{RT5682_PLL2_INTERNAL, 0x8266},
+	{RT5682_SAR_IL_CMD_3, 0x8365},
 };
 
 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev)