From patchwork Mon Oct 8 19:39:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 10631369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B35D015E2 for ; Mon, 8 Oct 2018 19:42:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A529B29B85 for ; Mon, 8 Oct 2018 19:42:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9931929B9B; Mon, 8 Oct 2018 19:42:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32F4B29BA7 for ; Mon, 8 Oct 2018 19:42:40 +0000 (UTC) Received: from alsa.alsa-project.org (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 682B926797B; Mon, 8 Oct 2018 21:42:38 +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 72DBA26797B; Mon, 8 Oct 2018 21:42:09 +0200 (CEST) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by alsa0.perex.cz (Postfix) with ESMTP id 8826426778A for ; Mon, 8 Oct 2018 21:42:07 +0200 (CEST) Received: by mail-qt1-f169.google.com with SMTP id d8-v6so22190902qtk.13 for ; Mon, 08 Oct 2018 12:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=VqWKYRDiJ+wDs8ZDgOXr0wxPSb4FlJ5du6PK5/1ru4U=; b=jA2aissOC65LFYvlY/h4ZCxfN2yGpZIkPL4PMKNQv+iE4LkacIZysAM2jLTfGO6lIr qCLf503wHjKvIjcq8ZuKvDQfw61GyV2ixBDRwMARmRVSib9HGMLBq2xh6PNa4T2Avs5g i3TqGUkXw3M60jpeNYsJBO8pl0ZDHxEh/tiCxuaKieXYeBMm1f+IJlMj+k6RFy75hEQi Fzj79felqhfMtzkwqb91nukTHtJXRy4ILP4AHFOZR0sLNfDzRMEdMS/RDndqmWZQitSr hPKPaiIx6Vb7qoLZIS2We8qdCucFS9tSauS6Z1dsvEx6uKk4x4KWD1c+1QipGV6icXoB og3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VqWKYRDiJ+wDs8ZDgOXr0wxPSb4FlJ5du6PK5/1ru4U=; b=eOXDpPPR5ndpsQd6tOuJAFbtgS9kEW6vyokN/u37tBIgVKeUznv9zQPSsaP1IY5TKt oy/Yv8LCHz9sirZrzdcwY5qRusTWkWjwuDCXHyv2Tz4lTU/MuVNcSWPTfD2MTGKsN/PJ r9PO+xt+4nuxCiEStsI312tyq9cOVYTMoj4xmF8771uD0njFhmC4oPEP2DnCjlHHhbO+ 7cqKMeSgbIu42ya3GzBYOJMzk4tpHExCRmOD9wZQDfTDvE/4vI7V5YJzAT0IT0V0QH1H WjprtCS0XKKvFi0dPrVbYjPtxiSylIpxRJk+wRPhq6YKDWMtVQeJ0l3/nYN1TNiuDTOW GC6Q== X-Gm-Message-State: ABuFfoiCOWnf+ygRe7GGq9Jrm8y1znKRmL392dCVSh/BTCDjyaZfwk7o VnwofKhFk3IxhNy8G7w+v+8= X-Google-Smtp-Source: ACcGV60XZty9zK4oIxjwDoIRPNZxY3BUBVfl1RIVmVI1caW3E9MQ4J7etOm72/fCfL5tvIwJFFtW0g== X-Received: by 2002:a0c:fb03:: with SMTP id c3-v6mr20148520qvp.146.1539027726114; Mon, 08 Oct 2018 12:42:06 -0700 (PDT) Received: from localhost.localdomain ([2605:a000:1316:4273:f812:c27a:7560:4d6a]) by smtp.googlemail.com with ESMTPSA id 76-v6sm13220644qkc.41.2018.10.08.12.42.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Oct 2018 12:42:05 -0700 (PDT) From: Connor McAdams To: Date: Mon, 8 Oct 2018 15:39:56 -0400 Message-Id: <1539027601-20910-1-git-send-email-conmanx360@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Alastair Bridgewater , Takashi Iwai , conmanx360@gmail.com Subject: [alsa-devel] [PATCH 0/4] Various cleanup + Mic Fix 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 This patch set fixes the microphone inconsistency issue, which means the microphone now works all the time on all of the cards I've tested (ZxR, Z, AE-5), along with the input effects. It also includes changes suggested by Takashi Sakamoto, I believe I did what he asked properly, but if I messed it up I'm sure you guys will let me know. This should finish up most of the ca0132 work, with all inputs and outputs working on the desktop cards. Connor McAdams (4): ALSA: hda/ca0132 - Fix microphone inconsistency issues ALSA: hda/ca0132 - Clean up patch_ca0132() ALSA: hda/ca0132 - Add error checking in ca0132_build_controls() ALSA: hda/ca0132 - Fix input effect controls for desktop cards sound/pci/hda/patch_ca0132.c | 75 +++++++++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 21 deletions(-) Reviewed-by: Takashi Sakamoto