From patchwork Mon Dec 7 08:46:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 339804 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=unavailable 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 CF9A2C4167B for ; Mon, 7 Dec 2020 08:47:23 +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 C4DDB229C4 for ; Mon, 7 Dec 2020 08:47:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4DDB229C4 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 F0382173D; Mon, 7 Dec 2020 09:46:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F0382173D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607330841; bh=9TuW79sUERd6wB8xZFTeMneXErbGQMwtyGsPE4Oyrr0=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=qwGeY4DUAZCRDsQh9hZ7NkPWJBZbfUDaWTRzthO7LeKBMSlGVsAwbP9Sgkm/FovS9 qKdv8aFv9HR09vaLDdZWU3nGAUFrD+OK+tO7rIDJc2qTeNCtwD7b5+rLF5twd48BfN eJn3+QcyyXgc6wDIis+RTvTJZ6Y6xBF+H5XsIkwg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 17CC7F8020D; Mon, 7 Dec 2020 09:46:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4AA16F8020D; Mon, 7 Dec 2020 09:46:28 +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 0C6D4F8015B for ; Mon, 7 Dec 2020 09:46:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0C6D4F8015B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qtEErtAS" Received: by mail-qk1-x741.google.com with SMTP id 1so11890743qka.0 for ; Mon, 07 Dec 2020 00:46:24 -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=75+i+NBjMQ6GtQpKGQNJdPXnFNLfGkuAW15cSzTPqVQ=; b=qtEErtAS+Fb92gBJJjJECw0zeq/TSSiOw+SAGqvz05PQyWQg+Vm5xV1PMYBZRTQSeL rEYnaz/4PoSsnlGGivHNdiKKBwgNQkSGTKNEZc0iy/KmHB1Qqav1wnBWC4iDdj64ZJku /JyQS3OsosSBW0QdRSqpayQ0qsaRarXb9lYfhgpbtNlKLuTVGjbVbqZPS9XUVJeqMypR t0+8iZSKPwOWSBrIE/+4Sw4qBcw+I1IIB+/unnS7abycAYg9DHxJqvOAI+YDeGIuqLdB kTCklslvNbRo/JU6Vp9Ur/03iGqPHlYnKgg6IgT4365O8hZsnDZ8xDOIkzcmxaJV5sym SR9Q== 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=75+i+NBjMQ6GtQpKGQNJdPXnFNLfGkuAW15cSzTPqVQ=; b=LLrjTk4hOBUHXa/hDWkhz18Wx4GJPV59N5Dm8SYSME81W1+FDYfwM30v8U1DV8ytJU kyAPUT4bh+eElACF+W8QNR0AwwdzugLnL2FWjwflu27Q8+pt0fHmgcplRsK/T6jyenqc G50sSXupNfrg/E8xd//CwwVXQK3RlcBmv/2fg8/WPYeTt05+wsjtTOz13ESVN7PPrIUM fZCV8EkB5CKc3OkGl+44rXlwh5E9ubRzfxi8msCt7lXzPAqqX6sISfKqG4hGbyKylAHi SBDKRmeUoISB3wSBaFupwuiZJ05NDum2s/UcccbPc8MBpP7pG7IFAHztJREi0M3TcHkk aReg== X-Gm-Message-State: AOAM5300dCEF+nbt6sUPe2FntviB25STqV0VlG2vValaOt5U2iC7VD/V gew73OOGBGqjv5ZRrORzmvUcvN4X6qc= X-Google-Smtp-Source: ABdhPJxAQ2lH+fXjAcGTh8FCHNA5Xmj8q7aXjdHsR8Ac7wnaqenQn56nJi45e0DcoO9LXDp2Q5xMWQ== X-Received: by 2002:a37:9c4a:: with SMTP id f71mr5396954qke.495.1607330783087; Mon, 07 Dec 2020 00:46:23 -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 a9sm3424681qkk.39.2020.12.07.00.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 00:46:22 -0800 (PST) From: Connor McAdams To: Subject: [PATCH 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg. Date: Mon, 7 Dec 2020 03:46:13 -0500 Message-Id: <20201207084616.411531-1-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: linux-kernel@vger.kernel.org, conmanx360@gmail.com, Takashi Iwai , alsa-devel@alsa-project.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. 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 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 Mon Dec 7 08:46:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 339182 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=unavailable 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 D1861C4361B for ; Mon, 7 Dec 2020 08:48:14 +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 CDBD1229C4 for ; Mon, 7 Dec 2020 08:48:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDBD1229C4 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 E1425175C; Mon, 7 Dec 2020 09:47:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E1425175C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607330892; bh=nxuF/vClMqpEsXksCJQ75demgDBY6BSCQd8ifS5AVnE=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=KOzvv9jEesYoAbch6XQgbH18VVYyYHO1z3QaUDRC9BH83OCSmuyWEJNWohk/Wc0cg hhCP54LIqks6lupl4hEqhzQmCdiPf31X7cKO6gVcx5DkTe+SOaJBskzhveVvXlaMVy jatdHwEuJTMhQVCj142maeXgWY9VCHMBgjkKiqIc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 40C2DF80217; Mon, 7 Dec 2020 09:46:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E0386F80264; Mon, 7 Dec 2020 09:46:31 +0100 (CET) Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (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 01C9FF8015B for ; Mon, 7 Dec 2020 09:46:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 01C9FF8015B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TCw4ggub" Received: by mail-qk1-x743.google.com with SMTP id 19so4275676qkm.8 for ; Mon, 07 Dec 2020 00:46:27 -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=XTZhOtD/mfgDmjZI7TlxngV+W/PI5tFf+zUtfTsDwaM=; b=TCw4ggubn4E4b34Ozz6AnkYFmgCYW/YdHwm3dkrajSvDu9iF3IwTehK+PVHS/LpGuX Uld2WgLFfOLxiQPlmD01/GSOOAUSCggiYyFNwHzRm35H/VlVtskfrhTl6rH2fZvRbLBs q2WRkTieE2XegDMdyaF+lMA7jW6X21mJ0XjFRQnK8HLjdarmhnbUekzM9DsTkgiiNLVb L/ipv+krnBy95KsKZalE6N0TAKgKL1ZIn3wF7FZ+TTnA+H2MeGLjel1+bdqoeYucdkg6 tBNdF5MhPiBHj8vIXnaKu29HC7MyGWDP/Yf5WKhFLB6XI+IwTPEXx1OLVvSsHgEv1ftw w/JA== 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=XTZhOtD/mfgDmjZI7TlxngV+W/PI5tFf+zUtfTsDwaM=; b=LfLu8l4ATLsaTG8FuJaTUN50f7hzV+iAjgAKikD3HN4YeIR2vtFn/e82JOxvWH4WxW dssT9rlM5Y+lx+CUHd1Cs5x/3q6GKqdL6ew5aKBRA6tjd9W8xHODEqbn2IRBtINXonOl XVFBWY8DH02QySnKTxVA2R7Ua8DM1TRJlq2o6r0V6lOmyeqiPhZoq7yW38E239e+buj4 aAEcEtQ6Vq3Bo+08/cxY7I4/bmGKMU6mWSTKbqcimydJfHzTPKxj/xf5R1LLsnnCQyuk qWbXI+qo0oTmsQG9FboZzZdi7Q4ewAi493aRP4ULNnNYNRgxyefUNOp5NQGjsvNm8t02 Ig4w== X-Gm-Message-State: AOAM533DCWzo0oNrwadAhUoLGn6vOcJ+STxoqmAGnsTCAq/IYcmrHfgf dEBgpwpnrCIvjE+sNa52D5g= X-Google-Smtp-Source: ABdhPJx7aT2XclbJxVMOWrrjzYdD/nc59udTfgiLAzURpOBFj9255P82D7H3hG/Rdwhc2x3wm8J3gQ== X-Received: by 2002:a37:6403:: with SMTP id y3mr23201617qkb.204.1607330785078; Mon, 07 Dec 2020 00:46:25 -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 a9sm3424681qkk.39.2020.12.07.00.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 00:46:24 -0800 (PST) From: Connor McAdams To: Subject: [PATCH 2/3] ALSA: hda/ca0132 - Change Input Source enum strings. Date: Mon, 7 Dec 2020 03:46:14 -0500 Message-Id: <20201207084616.411531-2-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201207084616.411531-1-conmanx360@gmail.com> References: <20201207084616.411531-1-conmanx360@gmail.com> MIME-Version: 1.0 Cc: linux-kernel@vger.kernel.org, conmanx360@gmail.com, Takashi Iwai , alsa-devel@alsa-project.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. 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 Mon Dec 7 08:46:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor McAdams X-Patchwork-Id: 339803 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=unavailable 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 5911DC4361B for ; Mon, 7 Dec 2020 08:48: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 BC550230F9 for ; Mon, 7 Dec 2020 08:48:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC550230F9 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 1F07F174C; Mon, 7 Dec 2020 09:47:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1F07F174C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607330897; bh=OXcWzKJWIoeGPLYbAZFAkfJ1mRq+HFaUDZndzZ44aK8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RLOtAHStXDkdi7VqzdEp0BuJE0VKWi1woPwBmhj0wMZNQFWy36iJMtHBlipIj+Pei cK5fvABEihLxs3Xyo56ZklTdvY1Cdecps3C5Dh9kz9cIBhaUBkcrsvApzd/L/8nIIO j7Mj8tO1+Ex6K7m00/XjWgL4dqgNVJC0+ocH8IsI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 548DCF80227; Mon, 7 Dec 2020 09:46:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 96DC1F8026A; Mon, 7 Dec 2020 09:46:33 +0100 (CET) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (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 0AFFAF80227 for ; Mon, 7 Dec 2020 09:46:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0AFFAF80227 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sch1nJmJ" Received: by mail-qt1-x843.google.com with SMTP id y15so1313186qtv.5 for ; Mon, 07 Dec 2020 00:46:29 -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=NpdyYEoACj40I4ZoU6WJldnVBTLBOwlyVOBQr8T4Kew=; b=sch1nJmJjyLcCpem9TYTDXeAaeeWlxQkuXNCbmblSiPHOtE4NfUqUpcQnUFZJZ/HpD kL/Ga9mPGlkojKYjTEqnEERK9cyf+PEsooGLU7l3bY4GVxeLAkIWpKfxxdfd4IPDVvPI ngORmXaOooXuleNyvRfEdNDeaQ2NTWXpAAz993L8+48hCcI5XAZ70IGVk9SFkBzjuJis tQf/XfsducGWaylpomokcaJIEsvd/fbw8IePOXDgkJVXJHDTGYLC3JDcy1aB0W/e4ojL HIzTq5IxkToB1DS1OeQ+jVWpkmypQM85jA5t5IblJIXckHwpfyleUX1IfL4e/Ordiz7G PlGg== 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=NpdyYEoACj40I4ZoU6WJldnVBTLBOwlyVOBQr8T4Kew=; b=JiFx4lUMfi6oAKZDsKjDj6eJ2+qjJMQav7n3WFcL2H7tGotLhb8N5dDbqOD25C9Cyz wsUIurDoJbyFW7tQb6xuF5EtvHdYJAp9zoYbj04+phlJitDDL6zPoXN0K4KSBrF819Vr +q2pnSdM38WB4ryVGNu/HGD2cYDNvTboftgZq0+dT1GvjxLzHCcC985o294DXTJo4/Px Ufif8LyyrXPXdjoQt8DSmRF/N47/jAv6W96k52ON5OGWQOZQSeT326g30QrsHqKBTpcW KFKR6vCm5eA0t9bRZC6a2LcyaONleiMXN3spP9OZP1E4yxkvpeAyFxFZFeBKH8RQBXII 3HdQ== X-Gm-Message-State: AOAM531j3XjvA+lUcM1iizkOUyeacL9FnjkIMo4l1tlYjfnI6IlEB9Qc +A6HzHcmAIZPOLPyGFvn4ojojBdwnXc= X-Google-Smtp-Source: ABdhPJzAJgTIZ1mMj6CcgI4tmLpV4ibh78NNHIWaZzz07FiegjSWTPIUJtrRnvEA7wX0rH1+LEpqKg== X-Received: by 2002:ac8:1c92:: with SMTP id f18mr10045859qtl.319.1607330787050; Mon, 07 Dec 2020 00:46:27 -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 a9sm3424681qkk.39.2020.12.07.00.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 00:46:26 -0800 (PST) From: Connor McAdams To: Subject: [PATCH 3/3] ALSA: hda/ca0132 - Unmute surround when speaker output is selected. Date: Mon, 7 Dec 2020 03:46:15 -0500 Message-Id: <20201207084616.411531-3-conmanx360@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201207084616.411531-1-conmanx360@gmail.com> References: <20201207084616.411531-1-conmanx360@gmail.com> MIME-Version: 1.0 Cc: linux-kernel@vger.kernel.org, conmanx360@gmail.com, Takashi Iwai , alsa-devel@alsa-project.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. 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, },