From patchwork Mon May 19 16:04:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Reimer X-Patchwork-Id: 4202981 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 7BF9A9F32A for ; Mon, 19 May 2014 16:05:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D3E6202AE for ; Mon, 19 May 2014 16:05:06 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5B3C02021B for ; Mon, 19 May 2014 16:05:02 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 502CE2610B0; Mon, 19 May 2014 18:05:00 +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 C4DEB2607C8; Mon, 19 May 2014 18:04:49 +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 0AB6A260862; Mon, 19 May 2014 18:04:48 +0200 (CEST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by alsa0.perex.cz (Postfix) with ESMTP id C33532607C8 for ; Mon, 19 May 2014 18:04:39 +0200 (CEST) Received: by mail-pb0-f54.google.com with SMTP id jt11so6110409pbb.27 for ; Mon, 19 May 2014 09:04:38 -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:in-reply-to :references; bh=/yFELmHSaAieOqMdZZ1SR+lgtQULC2RqdbdeqUWfR/Y=; b=jQuEQjlzuT4546cGPlkNblPBuXAgJtbPmQSlI7wJWnHHCN6cQsDfzfFdwnjE84cM4P 3/L4J3AUs0zmgKrD7rScfKxAKMsrfeJ5epHwlUItL+CWO+lVrYqvIfHqKzOzQ/urLu0U McgyD0piYjY7GndJbNKkiLlicKaUvYpCy1Ln3lWtLzpWyclXWe6NuVPKdiJwdM3hEkJC qu1UdQubP4z3rfeuvf2ICOAcLF5xU6e2wI8dadX4rGyt6/9W3AYVooCVfdxGcx3Mta4W +qtFSppFez3n5jF5xaZEyCeTwb5vgRVeNZSwuPD2ZaW4xCv5AGtjf1AhRQV+X90krwkK YIEg== X-Gm-Message-State: ALoCoQlfgYzbOH/G1TbGtU3r+eHBT6I/GzwtBtwVT+Pipap70RxyiaMUzaIBueUnZBlRkreAzCBp X-Received: by 10.68.166.131 with SMTP id zg3mr12210851pbb.165.1400515478246; Mon, 19 May 2014 09:04:38 -0700 (PDT) Received: from localhost.localdomain (69-92-51-31.cpe.cableone.net. [69.92.51.31]) by mx.google.com with ESMTPSA id ei4sm30798158pbb.42.2014.05.19.09.04.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 09:04:37 -0700 (PDT) From: Matt Reimer To: Alsa-devel@alsa-project.org Date: Mon, 19 May 2014 09:04:30 -0700 Message-Id: <1400515470-3474-1-git-send-email-mreimer@sdgsystems.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1400186759-24248-1-git-send-email-mreimer@sdgsystems.com> References: <1400186759-24248-1-git-send-email-mreimer@sdgsystems.com> Cc: patches@opensource.wolfsonmicro.com, 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 Acked-by: Charles Keepax --- 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"};