Skip to contentSkip to conversation

ASoC: rt5682: Fix recording no sound issue

PATCH In review [email protected] 2 participants 2 messages Jan 2, 2019 – Jan 3, 2019

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

PATCH 1/1 ASoC: rt5682: Fix recording no sound issue

From: Shuming Fan <[email protected]>

The ADC mixer setting needs to restore to default value after calibration.

---
 sound/soc/codecs/rt5682.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/rt5682.c +1 -0
index 34cfaf8..89c43b2 100644
@@ -2512,6 +2512,7 @@ static void rt5682_calibrate(struct rt5682_priv *rt5682)
 	regmap_write(rt5682->regmap, RT5682_PWR_DIG_1, 0x0000);
 	regmap_write(rt5682->regmap, RT5682_CHOP_DAC, 0x2000);
 	regmap_write(rt5682->regmap, RT5682_CALIB_ADC_CTRL, 0x2005);
+	regmap_write(rt5682->regmap, RT5682_STO1_ADC_MIXER, 0xc0c4);
 
 	mutex_unlock(&rt5682->calibrate_mutex);
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw

Applied "ASoC: rt5682: Fix recording no sound issue" to the asoc tree

The patch

ASoC: rt5682: Fix recording no sound issue

has been applied to the asoc tree at

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

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

Quoted 1 line

From a992571e46d592c7f447660ca4dc3d24ce773445 Mon Sep 17 00:00:00 2001

From: Shuming Fan <[email protected]>
Date: Wed, 2 Jan 2019 17:18:56 +0800
Subject: [PATCH] ASoC: rt5682: Fix recording no sound issue

The ADC mixer setting needs to restore to default value after calibration.

---
 sound/soc/codecs/rt5682.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/rt5682.c +1 -0
index 34cfaf8f6f34..89c43b26c379 100644
@@ -2512,6 +2512,7 @@ static void rt5682_calibrate(struct rt5682_priv *rt5682)
 	regmap_write(rt5682->regmap, RT5682_PWR_DIG_1, 0x0000);
 	regmap_write(rt5682->regmap, RT5682_CHOP_DAC, 0x2000);
 	regmap_write(rt5682->regmap, RT5682_CALIB_ADC_CTRL, 0x2005);
+	regmap_write(rt5682->regmap, RT5682_STO1_ADC_MIXER, 0xc0c4);
 
 	mutex_unlock(&rt5682->calibrate_mutex);
 
Signature · 1 line
2.20.1