Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2099506ybl; Thu, 30 Jan 2020 11:20:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzfkn6PXIo4U7UIoyENMaTwVWBSpjdyOVNh5u1Rct8mPvA3lvNW64kmrgLU3es9i1Fu0aBB X-Received: by 2002:aca:1913:: with SMTP id l19mr3756048oii.47.1580412038841; Thu, 30 Jan 2020 11:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580412038; cv=none; d=google.com; s=arc-20160816; b=S0SW7f17YFv2Hh1rPD90gbweh33oiuLOOmNlPfQXJd2aL6YJOHfeBcatiewrnc7+fQ 4N/NHRI110JMDoPyCQ7jZFkoDo54dGoHuKGwILU/p0IP7eqX0WwP44Dnx+8ZkIAhsHpk YYw+d0fmPFh90Lav/5r4kTAaEvLVKPXkYQ1dpKwCjDu49Z8TT5h2RTmoXDZKjntccxjf IsXTLu9bF1AOSTEnT4O0cE/ptATTrWT8g9iXac3ehYbcNsjlwWym5WCd8J94N7FFXc4x ri6hxlhXWQQOyKhvo6eNf1jbSbf9A27fcycjBLgCMlEMfPWfLnYmUkOCGsShCAuA3W4T jmNw== 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=nzwTlwBKa260YAIBQClUAKYd7uRn00/Cxfhl1gbGK64=; b=YqCfxruX6ag6VLUao6omv+7YOOn9t5cEL3LgNCrN1A423icnS52NAfntIl5v0T2Frx 6oCDbpEZsqwdFfwo2v9YgCQwSl3e7aeMp7REgaU1lJAeds+KHS4XyMITjN6t3EZXcMAd dLnlZzBC8kOiPGIE5acczJFEC0TDagjeSjoXa9Jr5mDC6I3RXi7WPU1xeR3LH3YSVjaJ 0TL1b6oyFqQxpt/qurlpoWFJ/uqBnHMiGOkRgvrZ2ltOgybj7UVIPQWgIdd2A1AiG6ep OQbhflMDdsDLHiK/CQy4v5qLtkjl/Vw4Ir/Xn0QBGAdKAKPcgJAtIV8MYH+z9NvNrUDX 7m4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jJz612MT; 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 v141si3019409oif.161.2020.01.30.11.20.26; Thu, 30 Jan 2020 11:20:38 -0800 (PST) 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=jJz612MT; 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 S1731207AbgA3Sq3 (ORCPT + 99 others); Thu, 30 Jan 2020 13:46:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:56422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731195AbgA3Sq0 (ORCPT ); Thu, 30 Jan 2020 13:46:26 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 5A3ED205F4; Thu, 30 Jan 2020 18:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409985; bh=Pt57xNn7PwEg7RGA+JlsfMYabBJJPJkE2lr3e5SGsSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jJz612MTmqaJ4slYZPyEmp7xU2SwLeCAopmcNRmVxz32fBjnb25KqWSx78b0qvyAQ yBdUIrOe/0eOF5e8wkkeC7OLHNYDlXb7m0Fl6vEM6xXCj7ap8qbwY2Ya8rdR08B+Xi Y3ilNezcOF+mqMjm5sN7DO2tXDdy4vk+xTPE/8Xc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hui Wang , Takashi Iwai , Sasha Levin Subject: [PATCH 5.4 096/110] ALSA: hda/realtek - Move some alc236 pintbls to fallback table Date: Thu, 30 Jan 2020 19:39:12 +0100 Message-Id: <20200130183625.285401267@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Hui Wang [ Upstream commit d64ebdbfd4f71406f58210f5ccb16977b4cd31d2 ] We have a new Dell machine which needs to apply the quirk ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, try to use the fallback table to fix it this time. And we could remove all pintbls of alc236 for applying DELL1_MIC_NO_PRESENCE on Dell machines. Signed-off-by: Hui Wang Link: https://lore.kernel.org/r/20191121022644.8078-2-hui.wang@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/patch_realtek.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index d293488dc3dd3..68832f52c1ad2 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7563,20 +7563,6 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x19, 0x02a11020}, {0x1a, 0x02a11030}, {0x21, 0x0221101f}), - SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, - {0x12, 0x90a60140}, - {0x14, 0x90170110}, - {0x21, 0x02211020}), - SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, - {0x12, 0x90a60140}, - {0x14, 0x90170150}, - {0x21, 0x02211020}), - SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, - {0x21, 0x02211020}), - SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, - {0x12, 0x40000000}, - {0x14, 0x90170110}, - {0x21, 0x02211020}), SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE, {0x14, 0x90170110}, {0x21, 0x02211020}), @@ -7901,6 +7887,9 @@ static const struct snd_hda_pin_quirk alc269_fallback_pin_fixup_tbl[] = { SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, {0x19, 0x40000000}, {0x1a, 0x40000000}), + SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, + {0x19, 0x40000000}, + {0x1a, 0x40000000}), {} }; -- 2.20.1