From patchwork Thu May 15 20:45:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Reimer X-Patchwork-Id: 4185861 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 929159F1C0 for ; Thu, 15 May 2014 20:46:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0CC520176 for ; Thu, 15 May 2014 20:46:47 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5AC8A2012F for ; Thu, 15 May 2014 20:46:46 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5BD96265086; Thu, 15 May 2014 22:46:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1786B264EBF; Thu, 15 May 2014 22:46:33 +0200 (CEST) X-Original-To: Alsa-devel@alsa-project.org Delivered-To: Alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 56CF0264F03; Thu, 15 May 2014 22:46:31 +0200 (CEST) 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/yFELmHSaAieOqMdZZ1SR+lgtQULC2RqdbdeqUWfR/Y=; b=SNnKktXwW/HQhYfiD6Bifswcto56vLA8EfGvXZQJHTudyWeuopi2pM0Wz2n3zHQoEJ rEHuwgIgNvT9vqO79GaHGw+z9kEcholEHcvlXD8qaP3gT/+dw24SmHjiQLVqiwO771/x Rdae/3grCTOcI4kDYgQepKzvHXyYIe6E4G7mR0JrupIiqUB3gkuRMlv8ytQnWpManVRb iG/nZXFLQvzT8+k2HZCLOuGPp2BjsnhbBB6wE9sxqJ9ZouEzUSM9N1XwYt2l/6fU2vDf VF7iygTFW7gvnLGgPppSCS5Vo4sNrjDz7NxRCNd4Y/VNplAmusukuitEjXufmpAstxjU Qi4g== X-Gm-Message-State: ALoCoQmsp12eGr87UnuIYmVkv4OgOS7wKt7cCNmSXQiiCgUESLjkqAAVAb2jLk6VWJQfADnPfC3D X-Received: by 10.66.164.5 with SMTP id ym5mr15405331pab.50.1400186781259; Thu, 15 May 2014 13:46:21 -0700 (PDT) Received: from localhost.localdomain (69-92-51-31.cpe.cableone.net. [69.92.51.31]) by mx.google.com with ESMTPSA id ss2sm25243098pab.8.2014.05.15.13.46.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 15 May 2014 13:46:20 -0700 (PDT) From: Matt Reimer To: Alsa-devel@alsa-project.org Date: Thu, 15 May 2014 13:45:59 -0700 Message-Id: <1400186759-24248-1-git-send-email-mreimer@sdgsystems.com> X-Mailer: git-send-email 1.7.5.4 Cc: Matt Reimer Subject: [alsa-devel] [PATCH] ALSA: ASoC: wm9713: correct mono out PGA sources X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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"};