Skip to contentSkip to conversation

ASoC: rt5670: fix wrong name of sto2 adc 2 mux

PATCH In review Bard Liao 2 participants 4 messages Jul 26, 2017

Subsystems (3)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/2 ASoC: rt5670: fix wrong name of sto2 adc 2 mux

The kcontrol name of Stereo2 ADC 2 Mux is not matched with what we used in dapm widget.

---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5670.c +1 -1
index 0376667..2866f9b 100644
@@ -1175,7 +1175,7 @@ static const struct snd_kcontrol_new rt5670_sto_adc_2_mux =
 static SOC_ENUM_SINGLE_DECL(rt5670_stereo2_adc2_enum, RT5670_STO2_ADC_MIXER,
 	RT5670_ADC_2_SRC_SFT, rt5670_stereo_adc2_src);
 
-static const struct snd_kcontrol_new rt5670_sto2_adc_l_mux =
+static const struct snd_kcontrol_new rt5670_sto2_adc_2_mux =
 	SOC_DAPM_ENUM("Stereo2 ADC 2 Mux", rt5670_stereo2_adc2_enum);
 
 
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 2/2 ASoC: rt5670: add symmetric_rates flag

rt5670 requires symmetric rate of capture and playback.

---
 sound/soc/codecs/rt5670.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/codecs/rt5670.c +2 -0
index 2866f9b..0f4e5bc 100644
@@ -2733,6 +2733,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
 			.formats = RT5670_FORMATS,
 		},
 		.ops = &rt5670_aif_dai_ops,
+		.symmetric_rates = 1,
 	},
 	{
 		.name = "rt5670-aif2",
@@ -2752,6 +2753,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
 			.formats = RT5670_FORMATS,
 		},
 		.ops = &rt5670_aif_dai_ops,
+		.symmetric_rates = 1,
 	},
 };
 
Signature · 1 line
2.7.4
maintainer
#2 lore raw

Applied "ASoC: rt5670: add symmetric_rates flag" to the asoc tree

The patch

ASoC: rt5670: add symmetric_rates flag

has been applied to the asoc tree at

git://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 8215313c8bf487b6b15839be3c18fdd1598b1e79 Mon Sep 17 00:00:00 2001

From: Bard Liao <[email protected]>
Date: Wed, 26 Jul 2017 15:28:26 +0800
Subject: [PATCH] ASoC: rt5670: add symmetric_rates flag

rt5670 requires symmetric rate of capture and playback.

---
 sound/soc/codecs/rt5670.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/codecs/rt5670.c +2 -0
index 0ec7985ed306..174141fefc79 100644
@@ -2743,6 +2743,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
 			.formats = RT5670_FORMATS,
 		},
 		.ops = &rt5670_aif_dai_ops,
+		.symmetric_rates = 1,
 	},
 	{
 		.name = "rt5670-aif2",
@@ -2762,6 +2763,7 @@ static struct snd_soc_dai_driver rt5670_dai[] = {
 			.formats = RT5670_FORMATS,
 		},
 		.ops = &rt5670_aif_dai_ops,
+		.symmetric_rates = 1,
 	},
 };
 
Signature · 1 line
2.13.2
maintainer
#3 lore raw
In reply to Bard Liao
Quoted 2 lines · Bard Liao

The kcontrol name of Stereo2 ADC 2 Mux is not matched with what we used in dapm widget.

This doesn't apply against current code, please check and resend.