Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp269095img; Mon, 18 Mar 2019 02:43:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMo16NMQeYLrVs4LYIDMDX/1+NljZ59BTckmvP/ku1nS6CbI4S98byGYC3zNhhTwEkJWUy X-Received: by 2002:aa7:885a:: with SMTP id k26mr18196990pfo.70.1552902191187; Mon, 18 Mar 2019 02:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552902191; cv=none; d=google.com; s=arc-20160816; b=oGPSzXerZSGCDdi1YjFCu3Qqir93o0W1YkOr+d6mDOY25R/wX1K5mjt/udiTe3rGXB ip5qH1nGqPpUn2hvAG0ELaxvATC7Gf7Emjsgr4eL5JBVioWB229Yjp3le6mlfHBx0xh+ X974OWNcCgnPVy2fsCmBPx/33HQIfOuCW+rBCtB30Kuc55KTWuoWw1o5GNjl+SJh6LFe coWDhJt5Bs4tY20rfv4E+49iplJ+LUwmnJ5ngkVtiyLOn0cEln7gnRCHngl49G+U5DaB rM0k6Dqwcs/3qVwhFEFrFD9N4hDfmHM7piIUrjOKxFv8Jo7lc3cvpS3ekWyGFCHWFzP4 cZhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SKReavJO7XvOBS3YGJH609jWek4/xZ4tvR+W6REgvkU=; b=nCIbgORQQ4+9VasCDjoYzz9jZFH2gIzK9QQ9av+VenEfudOhJrMVSINp/MQVR534Wt Nb1/63wrMNqb4CPG+UG+E8v67UYuNqVllH8vtK4Hl2f3y9QlQUk5PbRzO2/RbrJ8yK6q iuJDgqYmEA+woOrzN1V3fltObvPCklelbo3SWAXC0urudD/FVtMLMQO6pnXxYQM/EbfZ eoBoeamcsCklKOZMW/KWYqqKwfj3VUYXg/wYePb1Nm79MqFay0unWW6doEtYI1yk2boP mMaPLG62M8Fd/PX48NpjuosoP9tRVAlJGYicOoG0I3m9vMXEoA/AXqji6XBdZMGARMMT thNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z2Lva46m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cm10si9591468plb.295.2019.03.18.02.42.56; Mon, 18 Mar 2019 02:43:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z2Lva46m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728949AbfCRJeF (ORCPT + 99 others); Mon, 18 Mar 2019 05:34:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:42388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726982AbfCRJeE (ORCPT ); Mon, 18 Mar 2019 05:34:04 -0400 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EF6DC2087C; Mon, 18 Mar 2019 09:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552901643; bh=CNRdJesMUkkC2LY4GqMPLCKRncWFesSSQaR6UYqpwm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z2Lva46mPINGaz9VoIL4/CjcxBHREBj9EJP6UT819zEtAZICYoYZ8znHxDMP7UTbm 9fSgD26TEV49nz1ryKN4TBA99qZe22CK9uw8Asm/Id4v/jHnqdxF1Tzg+cmeZINnoK eDEDwhakCSOsb2ekAGRVSzq1MGFPpZDk9RyD9Zgk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jian-Hong Pan , Ming Shuo Chiu , Takashi Iwai Subject: [PATCH 4.19 43/52] ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294 Date: Mon, 18 Mar 2019 10:25:40 +0100 Message-Id: <20190318084018.604227408@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190318084013.532280682@linuxfoundation.org> References: <20190318084013.532280682@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jian-Hong Pan commit 8bb37a2a4d7c02affef554f5dc05f6d2e39c31f9 upstream. The ASUS UX362FA with ALC294 cannot detect the headset MIC and outputs through the internal speaker and the headphone. This issue can be fixed by the quirk in the commit 4e0511067 ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294. Besides, ASUS UX362FA and UX533FD have the same audio initial pin config values. So, this patch replaces SND_PCI_QUIRK of UX533FD with a new SND_HDA_PIN_QUIRK which benefits both UX362FA and UX533FD. Fixes: 4e051106730d ("ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294") Signed-off-by: Jian-Hong Pan Signed-off-by: Ming Shuo Chiu Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6692,7 +6692,6 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK), - SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK), SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A), SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC), SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW), @@ -7308,6 +7307,10 @@ static const struct snd_hda_pin_quirk al SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK, {0x12, 0x90a60130}, {0x17, 0x90170110}, + {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK, + {0x12, 0x90a60130}, + {0x17, 0x90170110}, {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, ALC295_STANDARD_PINS,