Skip to contentSkip to conversation

ALSA: ASoC: wm9713: correct mono out PGA sources

PATCH New Matt Reimer 3 participants 5 messages May 15, 2014 – Jun 1, 2014

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

PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources

The mono output PGA input only has four possible sources, so omit the rest.

---
 sound/soc/codecs/wm9713.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
index 5f69b52..caf0269 100644
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] =
 	"Mono Out", "Zh"};
 static const char *wm9713_rec_gain[] = {"+1.5dB Steps", "+0.75dB Steps"};
 static const char *wm9713_alc_select[] = {"None", "Left", "Right", "Stereo"};
-static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv",
-	"Mono Vmid", "Inv Vmid"};
+static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv"};
 static const char *wm9713_spk_pga[] =
 	{"Vmid", "Zh", "Headphone", "Speaker", "Inv", "Headphone Vmid",
 	"Speaker Vmid", "Inv Vmid"};
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources

The mono output PGA input only has four possible sources, so omit the rest.

---
 sound/soc/codecs/wm9713.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
index 5f69b52..caf0269 100644
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] =
 	"Mono Out", "Zh"};
 static const char *wm9713_rec_gain[] = {"+1.5dB Steps", "+0.75dB Steps"};
 static const char *wm9713_alc_select[] = {"None", "Left", "Right", "Stereo"};
-static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv",
-	"Mono Vmid", "Inv Vmid"};
+static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv"};
 static const char *wm9713_spk_pga[] =
 	{"Vmid", "Zh", "Headphone", "Speaker", "Inv", "Headphone Vmid",
 	"Speaker Vmid", "Inv Vmid"};
Signature · 1 line
1.7.5.4
#3 lore raw

PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources

In reply to Matt Reimer

The mono output PGA input only has four possible sources, so omit the rest.

---
 sound/soc/codecs/wm9713.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
index 5f69b52..caf0269 100644
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] =
 	"Mono Out", "Zh"};
 static const char *wm9713_rec_gain[] = {"+1.5dB Steps", "+0.75dB Steps"};
 static const char *wm9713_alc_select[] = {"None", "Left", "Right", "Stereo"};
-static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv",
-	"Mono Vmid", "Inv Vmid"};
+static const char *wm9713_mono_pga[] = {"Vmid", "Zh", "Mono", "Inv"};
 static const char *wm9713_spk_pga[] =
 	{"Vmid", "Zh", "Headphone", "Speaker", "Inv", "Headphone Vmid",
 	"Speaker Vmid", "Inv Vmid"};
Signature · 1 line
1.7.5.4
maintainer Applied
#4 lore raw
Quoted 2 lines · Matt Reimer

The mono output PGA input only has four possible sources, so omit the rest.

Applied, thanks. Please use subject lines matching the style for the subsystem.