diff mbox

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

Message ID 1501054106-25264-1-git-send-email-bardliao@realtek.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bard Liao July 26, 2017, 7:28 a.m. UTC
The kcontrol name of Stereo2 ADC 2 Mux is not matched with what we used
in dapm widget.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown July 26, 2017, 11:29 a.m. UTC | #1
On Wed, Jul 26, 2017 at 03:28:25PM +0800, Bard Liao wrote:
> 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.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 0376667..2866f9b 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -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);