From patchwork Tue Dec 8 19:52:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 11959389 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81E27C433FE for ; Tue, 8 Dec 2020 19:53:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CCF3823C31 for ; Tue, 8 Dec 2020 19:53:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCF3823C31 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1727416D5; Tue, 8 Dec 2020 20:52:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1727416D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607457206; bh=g/xf2//q6vllYwiQ7SKvF3CMO9X4gMDNWk1V1NbvzrI=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=t7zKBcSsHrIRA9ZXB++aSLe7uM1wLJVik7sVJM2BNn8TAVR+UullFIL9sMGOZwi4y 4fmdXDl0kG9LJbooyLzWnOvBr9bfHoquCSPbtrfOpCiHPLYXHJNYVm/37LDugpBPdy u43eAi/vknSkSpzyAHRMVH9m43Cn7/WM+LWnwExQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7312AF8019D; Tue, 8 Dec 2020 20:52:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 604F4F8019D; Tue, 8 Dec 2020 20:52:34 +0100 (CET) Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E30C7F8010A for ; Tue, 8 Dec 2020 20:52:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E30C7F8010A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KLKJlgWg" Received: by mail-qv1-xf41.google.com with SMTP id l14so497359qvh.2 for ; Tue, 08 Dec 2020 11:52:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ggClf1qYaX1ZYfaRMUNT7oZqY0pd3cd9hPip2Wzk4F4=; b=KLKJlgWgWbN67LPCenCHeeJkjwAUvUak89ba7ygQ2WI2d0DKFSd+sOpBSK0ltfZCE8 aPs6ZvvEOxVB2SCOitevu7LEKNGkR6P7yvGSeqlhiF55Zy2XUclnSeH76/V7dw1BdjHd T/E7rarteJFj2n2b0aUhMSkMlHDNu8zb66QZw0bzQ40w4SXthUiQXvxsXmRd9qp3GuiT cOnXpkLKjF9LcspElKGDZ3wMrG5f8i2GC/QoBhHKquE+wt9VZ31tRvL+ibw1hKobGYTv jtfJECveexzrQpKRV2zAMdI5aXZljhIsFYQoexnSTs/dGzdYO3/tadaiwYFozfteBWUR e0tw== 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:mime-version :content-transfer-encoding; bh=ggClf1qYaX1ZYfaRMUNT7oZqY0pd3cd9hPip2Wzk4F4=; b=RC3DAj60hRjn6s7JiOsJ+Dpfj74RCmub4onWZFnMqCEoiA1X1fC+eOcMydmk4ph4yN p4jiYHSolFTR+t/G6+2XwnS8l1INasgTUJOLKR4SIrLrUc6n0XonHUkMWhz+4iS5Zb4i gx+643Yo6U1PXpTK4n6BkKVS36qaT9cX57koN2HTLgH5U1/w6fm8qNa8QCix9HFyME4y lKCDTdZRlFklrUAwDztk4FFaPtYExFLi2rVrYbgkH6l5S9sqhN+B3aDAUBri3UdP9i3D HL4sK6OY52AhNfO/oK60IRoD4g3/wxPveYoD3jjNwmEcZ8MSvft/yoU/oUg5UikQtpKb z4BQ== X-Gm-Message-State: AOAM5324oN/BQX6Cq50bcy5F627LiDAFl2PPlLBCN/2KK7I4rdmi/VVZ fEr6mqPfu4xUIhwAmJUrG6M= X-Google-Smtp-Source: ABdhPJwLRmltK/EpGlS75VZoegn0zu1cz6U5kI4SqVbpM4KQKxgxNlbJQcRwUyD+ahl8etD1DfXmwA== X-Received: by 2002:a05:6214:12ab:: with SMTP id w11mr29040746qvu.42.1607457149690; Tue, 08 Dec 2020 11:52:29 -0800 (PST) Received: from localhost.localdomain (cpe-71-65-111-223.cinci.res.rr.com. [71.65.111.223]) by smtp.googlemail.com with ESMTPSA id x24sm14169458qkx.23.2020.12.08.11.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 11:52:29 -0800 (PST) From: Connor McAdams To: Subject: [PATCH v2 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg. Date: Tue, 8 Dec 2020 14:52:20 -0500 Message-Id: <20201208195223.424753-1-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , conmanx360@gmail.com, stable@kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The Windows driver sets the pincfg for the AE-5's rear-headphone to report as a microphone. This causes issues with Pulseaudio mistakenly believing there is no headphone plugged in. In Linux, we should instead set it to be a headphone. Fixes: a6b0961b39896 ("ALSA: hda/ca0132 - fix AE-5 pincfg") Cc: Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v2 changes: - Add fixes references to previous commits that these patches now fix. diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 4fbec4258f58..e96db73c32f5 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -1223,7 +1223,7 @@ static const struct hda_pintbl ae5_pincfgs[] = { { 0x0e, 0x01c510f0 }, /* SPDIF In */ { 0x0f, 0x01017114 }, /* Port A -- Rear L/R. */ { 0x10, 0x01017012 }, /* Port D -- Center/LFE or FP Hp */ - { 0x11, 0x01a170ff }, /* Port B -- LineMicIn2 / Rear Headphone */ + { 0x11, 0x012170ff }, /* Port B -- LineMicIn2 / Rear Headphone */ { 0x12, 0x01a170f0 }, /* Port C -- LineIn1 */ { 0x13, 0x908700f0 }, /* What U Hear In*/ { 0x18, 0x50d000f0 }, /* N/A */ From patchwork Tue Dec 8 19:52:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 11959391 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4214C4361B for ; Tue, 8 Dec 2020 19:54:19 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BFD4523C31 for ; Tue, 8 Dec 2020 19:54:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFD4523C31 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 13CB816E7; Tue, 8 Dec 2020 20:53:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 13CB816E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607457257; bh=VVH6ml/t5xLhH8NBsyBnyAwIepioHzcCiJu3X+kkoSM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Ayf+U5JbXWqtEzH9e/7uY+51x609h/SvojYtya0QsPHJN+RquXUvSjKotcX1E8Ve7 7zdoQtJtT0PJojkaMSlIobrtvZgwVYdfVVtkbqAiUDpbz9bjtk+ifsPBJpcko8Znm/ fYBCBJ68gvsFXYT6/GOsPSxnpcZibmUff8+uUfgc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 902E6F8025A; Tue, 8 Dec 2020 20:52:37 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DC18FF8025A; Tue, 8 Dec 2020 20:52:36 +0100 (CET) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6EECFF80164 for ; Tue, 8 Dec 2020 20:52:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6EECFF80164 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="G9oBrHcR" Received: by mail-qk1-x741.google.com with SMTP id b144so17073625qkc.13 for ; Tue, 08 Dec 2020 11:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=152BxGF2Vf3o7ouLnSNnkB/czUx41j3NRQWNvs5OtJk=; b=G9oBrHcRh1mT7t67YPd6k3JYk+wl+OPm/+E7tUn8hwTmHD3ntCavAw1162Lb3a0fiO GckqZGHeaCtTlAbwF0Vkjr7d7lLKwTCFKIXXkIOaq2YZuFdsEA26c4geckClVC++36yH YE647Vv7Yyn0z0EAnOh8Ag3kpK85OJphMXbu6Q6ZTZqLSurVEIGZHuTXc5nMVMewE0Of 7UArXNhpTnUCt0UPhCuyGb86uuD2kNo8jLVIeLJqvj+frtIyaaqMlQxDYPs5AHoswhgW M3ZjfwYOM1xuEcSXJzZoDyJqeldfb7Pxq1m6zKQBwiRYpCTJ8PMQprrfk5NH7R9IpMTy TYWA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=152BxGF2Vf3o7ouLnSNnkB/czUx41j3NRQWNvs5OtJk=; b=mQQgcAGcP70NarmbkvEhzchle4WoLq4VGptAlOPdVJt8SSKWqdLvcmXu3JKsJj0uTz R673v2IbLSa1R5SZrnsl62thvjyQ2RiotF+X/SkYuqoEMdjQSbHAvA9CwKnrM7FL9WBk OO4IFEaxDBUZUdBSwwbYI4WohJiFaPPvcPpLTsJjiK9D/n2bhc8Y+EIJuccSjFKyKPb+ 2qKHaa+uo6e4cq+RdBvKC46sBqYJ+p5EJOv8aASB5OiP9OFLYX4AqlXMwT9wx83OZNmI LdVO3V79qjx2gi3B9SL9c5vNBdWBhpHqiZdDe2sZHqtnjgNGLj/yLiFx1Zi7kMLVPhuC FN2Q== X-Gm-Message-State: AOAM532RuGy5Db2n80Xg2mtZsIv9wK6lBb698ua6R7CqG6VTRA2IfXYX Me/ZW1XO8hJin8tYLjl9byoZ+r8kCjk= X-Google-Smtp-Source: ABdhPJzuabtNUb4lJMygzpgxUHWosGtj/6u3mCMQlUsirxMgKnElMjVa+50EoV2oxQml9YDRALeiKA== X-Received: by 2002:ae9:c01a:: with SMTP id u26mr10232124qkk.372.1607457152391; Tue, 08 Dec 2020 11:52:32 -0800 (PST) Received: from localhost.localdomain (cpe-71-65-111-223.cinci.res.rr.com. [71.65.111.223]) by smtp.googlemail.com with ESMTPSA id x24sm14169458qkx.23.2020.12.08.11.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 11:52:31 -0800 (PST) From: Connor McAdams To: Subject: [PATCH v2 2/3] ALSA: hda/ca0132 - Change Input Source enum strings. Date: Tue, 8 Dec 2020 14:52:21 -0500 Message-Id: <20201208195223.424753-2-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201208195223.424753-1-conmanx360@gmail.com> References: <20201208195223.424753-1-conmanx360@gmail.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , conmanx360@gmail.com, stable@kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Change the Input Source enumerated control's strings to make it play nice with pulseaudio. Fixes: 7cb9d94c05de9 ("ALSA: hda/ca0132: add alt_select_in/out for R3Di + SBZ") Cc: Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index e96db73c32f5..793dc5d501a5 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -95,7 +95,7 @@ enum { }; /* Strings for Input Source Enum Control */ -static const char *const in_src_str[3] = {"Rear Mic", "Line", "Front Mic" }; +static const char *const in_src_str[3] = { "Microphone", "Line In", "Front Microphone" }; #define IN_SRC_NUM_OF_INPUTS 3 enum { REAR_MIC, From patchwork Tue Dec 8 19:52:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 11959393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A1B2C433FE for ; Tue, 8 Dec 2020 19:54:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 811C623C31 for ; Tue, 8 Dec 2020 19:54:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 811C623C31 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 07D6F16DE; Tue, 8 Dec 2020 20:53:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 07D6F16DE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607457263; bh=ix30Duv7mwu5Sof1EkCjl83ktbYnUAkFRJOlT+SJWLM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=glxk4L2rbxLzwsaYcqbQzz4icHYk47Q0/uWJrGp82OgX7KDo95Ap4182M72j5Scuo u53Rl//m4Td1Oy5Gm2mhuiKLq3NMljmWczJ2SddPV1Yv5Tlm91T5Tau5DElf7GN71C vPFyBFZe7Xp+c8raGa8mmbRbgRtQXiGeV6+i/PYk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6D152F8026A; Tue, 8 Dec 2020 20:52:39 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A0284F8027C; Tue, 8 Dec 2020 20:52:38 +0100 (CET) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 087F9F80164 for ; Tue, 8 Dec 2020 20:52:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 087F9F80164 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H+O+LB9l" Received: by mail-qk1-x731.google.com with SMTP id 143so2067467qke.10 for ; Tue, 08 Dec 2020 11:52:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8EiQ216BCvq5E3ZOT1I0q0n5ZMKUzKstAb5dwxu2d2I=; b=H+O+LB9l6tD4mV0hOiWsrlvudGlRYkKHYX1vIuNGbQRlA0M41yWHaSqoynyQ/KSduU /nx93xjIgpA2ZqNBfy8sfx/uQM51WYb9zBcCY18tFIfB/vu7K6mJH5uw4wIjcs+Kdc5t svK2wCMfMXWVnKSyDaJ8PRAAiXZVu3B8bh4VQli/HnwcVjQI6q45BlM3xA4ja8nTw/KH G6Ss0wcAQUP+o7l0MhNP6cjG4V9ytYYXZ9vZlBtZQd7FNpRXJqbX9B9Bn+pmhbEmPOC3 F1RZWOplj9UOEBemVv24FDfahSFE4FwsYdv0gZ0K9RopqDhBvKLg8RyZa0/iXZekC+A1 apqg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8EiQ216BCvq5E3ZOT1I0q0n5ZMKUzKstAb5dwxu2d2I=; b=dTAUmiQdWeDytUeBYIuCebe9eMVlRloJ0BfAAQEqZ7dSovdY5E/dojO2sQNLp3fasB 3PPwyvDldyjVhyHPUis1ADA6ESLKoxOws21Z9BSVcW+sqD3Zze1LUnxIuKjn0n+QCzdt gXvT3sADAAJgPbBLa7j4CAIBgWiLjhFSJX6bLpCfyyQnZHZ8FjJODKYSfupLUHUBj6CJ x9z2JtchRFep3g05bKyiaaOkHRleFx5VV9nDE5Olac1j6NOHpNdbC3ei9+nQW72bHfHP 3MFQuKHgLSzsEiT5HOxfUyzUX+4cQt/4Sw7guJlktSgpAziHXGL+J9eENhM+Dsk3N0OT llhg== X-Gm-Message-State: AOAM530kwwgz8v4ZgmsNT3Bq9K5GVl6qp/zjGbTXhU85L+lW3gqA/Rtk AtK0Jcw2seB9pdFHulP+PgQ= X-Google-Smtp-Source: ABdhPJy2QKOFcGdKPniH3biP/AcV9n4+MreVaxj+4qol5JZ4qA/vdo3UcHnohnWncAYFYRuDZ0TMZQ== X-Received: by 2002:ae9:df47:: with SMTP id t68mr31594897qkf.438.1607457154512; Tue, 08 Dec 2020 11:52:34 -0800 (PST) Received: from localhost.localdomain (cpe-71-65-111-223.cinci.res.rr.com. [71.65.111.223]) by smtp.googlemail.com with ESMTPSA id x24sm14169458qkx.23.2020.12.08.11.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 11:52:34 -0800 (PST) From: Connor McAdams To: Subject: [PATCH v2 3/3] ALSA: hda/ca0132 - Unmute surround when speaker output is selected. Date: Tue, 8 Dec 2020 14:52:22 -0500 Message-Id: <20201208195223.424753-3-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201208195223.424753-1-conmanx360@gmail.com> References: <20201208195223.424753-1-conmanx360@gmail.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , conmanx360@gmail.com, stable@kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Make sure GPIO pin for surround channel mute is set to 0 when speaker output is selected. Fixes: def3f0a5c7007 ("ALSA: hda/ca0132 - Add quirk output selection structures.") Cc: Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 793dc5d501a5..6d647d461eab 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -1390,7 +1390,7 @@ static const struct ca0132_alt_out_set_quirk_data quirk_out_set_data[] = { .has_hda_gpio = false, .mmio_gpio_count = 3, .mmio_gpio_pin = { 2, 3, 5 }, - .mmio_gpio_set = { 1, 1, 0 }, + .mmio_gpio_set = { 1, 0, 0 }, .scp_cmds_count = 0, .has_chipio_write = false, },