From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Reimer Subject: [PATCH] ALSA: ASoC: wm9713: correct mono out PGA sources Date: Thu, 15 May 2014 13:45:59 -0700 Message-ID: <1400186759-24248-1-git-send-email-mreimer@sdgsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by alsa0.perex.cz (Postfix) with ESMTP id 16ED6264E9F for ; Thu, 15 May 2014 22:46:22 +0200 (CEST) Received: by mail-pb0-f41.google.com with SMTP id uo5so1586510pbc.0 for ; Thu, 15 May 2014 13:46:21 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alsa-devel@alsa-project.org Cc: Matt Reimer List-Id: alsa-devel@alsa-project.org The mono output PGA input only has four possible sources, so omit the rest. Signed-off-by: Matt Reimer --- sound/soc/codecs/wm9713.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 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"}; -- 1.7.5.4