From a7f0b839cb5cb50d6ca5a567930ae039ed83cb2a Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Mon, 19 May 2014 09:35:47 -0700 Subject: [PATCH] ASoC: wm9713: correct mono out PGA sources The mono output PGA input only has four possible sources, so omit the rest. Signed-off-by: Matt Reimer Signed-off-by: Mark Brown --- sound/soc/codecs/wm9713.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index acea892..2a9c6d1 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"}; -- 2.7.4