diff mbox

ALSA: ASoC: wm9713: correct mono out PGA sources

Message ID 1400515470-3474-1-git-send-email-mreimer@sdgsystems.com (mailing list archive)
State New, archived
Headers show

Commit Message

Matt Reimer May 19, 2014, 4:04 p.m. UTC
The mono output PGA input only has four possible sources, so
omit the rest.

Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
---
 sound/soc/codecs/wm9713.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Comments

Charles Keepax May 19, 2014, 4:26 p.m. UTC | #1
On Mon, May 19, 2014 at 09:04:30AM -0700, Matt Reimer wrote:
> The mono output PGA input only has four possible sources, so
> omit the rest.
> 
> Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
diff mbox

Patch

diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 5f69b52..caf0269 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -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"};