ASoC: wm9713: correct mono out PGA sources
authorMatt Reimer <mreimer@sdgsystems.com>
Mon, 19 May 2014 16:35:47 +0000 (09:35 -0700)
committerMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 12:52:51 +0000 (13:52 +0100)
The mono output PGA input only has four possible sources, so
omit the rest.

Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm9713.c

index acea8927905bd733b35be0e8af439a4c8ab364bd..2a9c6d11330cff7e52f89dc0e80d718642145940 100644 (file)
@@ -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"};