Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9106157pxu; Mon, 28 Dec 2020 06:47:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxawiqJ7b2pgele25nCAVTkMjQgndzRfK4CWlZmsglrcQsif3tnkSF1LnwVcbggJjcwmkRP X-Received: by 2002:a17:906:e18:: with SMTP id l24mr40503006eji.434.1609166866759; Mon, 28 Dec 2020 06:47:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609166866; cv=none; d=google.com; s=arc-20160816; b=H0OTtvL4EgeT/8En7GEvq/AR050yBGNdpBdsSALPpWacOBSrZdjPKAQBua7ZGD+R6q vgCBahjvL99UlL4Kb3UMzDMsT9TnTkwLjc89ucPg70kjZvdlLDFQRyrzgj1DBMl/lfFU PTKSyAXCRnOWUdVOAiY0VJE6vKM2GABHdQJExwy5qF2EIzbRvrXqluhTjClpLlPO8MbC VgtR86/mYwCQKg2uM6cU0xv1rntpKJdQo0npOGZFx11Necb9t5MiAN1xWfB2PwRvl5xT csOo7ZObxXaQ7ilKkH7uep37zik+62KLQTQeEuM9GU26No9gKU665p+w6fyA1ZFkovt2 u/cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CqCc0+un62KOF6TV63R6v+DilRFO8I3eY7ZttrySlck=; b=sF57MdQtYg6ROLiATXGZ54yyOELbZMo+YxnK7CI7rk0X3RO7Onfubc+e4zXSzbo+aN WC17JmGc3vFCoSe7A2y1zUOI4XFoAIMsMyzIpjJctljVuXu9nVJG87kqCN7PpjEmBqGp kaVhNArJAr1JZYeGV/QiPn9DXsy0gMlxUxgAbmFB10HAEjJVeDDLB+S4a2AcRhzjoU4R LUUyDSGiJ0qhXVHUnxgb+UFWG81uOVrRfhRgWXR6eWSmqpWMzlelHRo00WPez+9il5Kt 7WLKE2qixgZ/YAtARG3A2I2AfS48/qCGSJNGaC+hczbdsMSdxeqCDqESDerR9rIDtC2p qTWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0VoVDm7R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si12469281eji.645.2020.12.28.06.47.23; Mon, 28 Dec 2020 06:47:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0VoVDm7R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392290AbgL1Ooz (ORCPT + 99 others); Mon, 28 Dec 2020 09:44:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:32798 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503146AbgL1OYw (ORCPT ); Mon, 28 Dec 2020 09:24:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 55F0320715; Mon, 28 Dec 2020 14:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165451; bh=GKJLJ8uHxLBb24RT1d7AlBVDke3QDveQAz71l4+BKNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0VoVDm7R+UrcPRJdZD3JEm5XPjMiaGGkut89Ehp3RlCDTLqaKMa+ODtsHlC2ks/HQ esu3O9MJ3y94LeHlurZV/24m5XJk3GZ5nc3zlbpa257/UufTjunUNiWDUABAbGBKjD L36SCbVf++WupIoRGVt18FSJdLVlbxQmEud5jTQo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Connor McAdams , Takashi Iwai Subject: [PATCH 5.10 536/717] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg. Date: Mon, 28 Dec 2020 13:48:54 +0100 Message-Id: <20201228125046.652741465@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Connor McAdams commit c697ba85a94b8f65bf90dec5ef9af5c39c3e73b2 upstream. 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 Link: https://lore.kernel.org/r/20201208195223.424753-1-conmanx360@gmail.com Link: https://lore.kernel.org/r/20201210173550.2968-1-conmanx360@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -1223,7 +1223,7 @@ static const struct hda_pintbl ae5_pincf { 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 */