Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp271517img; Mon, 18 Mar 2019 02:47:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdCNEM69gqAq5hchGyi4P38xTF4P5j38Uc5Vz0Ip0Zu5L4ENQqM8MuhHKBdbqksiAv4f1O X-Received: by 2002:a62:1346:: with SMTP id b67mr18687804pfj.195.1552902435368; Mon, 18 Mar 2019 02:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552902435; cv=none; d=google.com; s=arc-20160816; b=hz/sd33aoBJ+En2TyDXLGCpCXW8LhfcGe//1ZvwhUiR6jte+r9Sg4DXcwmHn5bGNXk OQ0Mtl21kRd2LheHfJuEyi/lih6kGA+XOyW5+sMzos3MbvcelzESJba+dho7eglWOZV/ jXm+VpxQL/Ib+JCBvs9JhpGE6ZjowaMQLTF21yKpIygvcHla5myro2AZTcUO0XDb1XOg k7ICVmRh65v0lt1qrPMFL6AoR4ZuNLjFdf0BUetFqq9KFLV86KtLn5ZW8hPw7t+nFNqB jpttX1MLtI5UjxiVws+e2tinOjMV0gdsJe2Pj1iSFkOl+K2NgQGzN8lKTvfg1TNUU1ii VJGw== 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=fMzj7mZP0g3CB9PpXg9QitIefoywB6Zcl0NZhGLaDCA=; b=htU0AqU7b2JwbW6HARn58P/VtXxyP4MmZReiUVymCJeznVVmL9t0EvXaDvuTlTQKDU zgSnd/o4jMu4wrtH7ZlDszW5O/kfILRUHk2FWaihmZpUTpVbo0IZJ+tGh/kE3/26Z9xF muIj3AfncWBOuWerAb1v1C41H8pgoovInWLAXrbMYZLqdIEOkMa5sYJ0iv5gn8IjGIYW HCaCWj0LB+YKszcLfwrwKu9aIFRWCf5w+JqqF41pBBWj8jaw5kL0So6RmKPJJL77aGnR 1xD7xX9f3Ef0X6PrECWBs++9q2F8KOBZAZ6//D6giADBkh1KAyC9UsSW9cnx0GX34NT9 7/kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Cvn5Mg5D; 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 186si9225546pfe.262.2019.03.18.02.47.00; Mon, 18 Mar 2019 02:47:15 -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=Cvn5Mg5D; 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 S1727891AbfCRJoq (ORCPT + 99 others); Mon, 18 Mar 2019 05:44:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:37978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728435AbfCRJan (ORCPT ); Mon, 18 Mar 2019 05:30:43 -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 A6C732087C; Mon, 18 Mar 2019 09:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552901443; bh=4wnLEChiXVWzMJMpnRk5C4VblCkXoB3BuUIDJZLrIEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cvn5Mg5D2wvoIVNBe4dPxSwihov9bNxjGH1x2SAhfNsz5vs3MtSUJ5zSwduSBxwDD yGIIhAxcGZZI97cJHEMNR8QZY6CNbg8azm0NBeMqKgJoaom3nm3mzznyIqnZIqWgYS aj5KNy2poRPf0j81uHOPMO2a8I/akQh64VElwOTk= 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.20 45/52] ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294 Date: Mon, 18 Mar 2019 10:25:32 +0100 Message-Id: <20190318083849.204227053@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190318083843.398913295@linuxfoundation.org> References: <20190318083843.398913295@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.20-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,