Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3027898pxb; Mon, 18 Oct 2021 06:54:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1TrR19vtPsB2KnEPtl/MCfbEdgjzWQ1S5kBNAWxS6zzorkLrJf9xjKHYZKe5Q43gw/1Ac X-Received: by 2002:a17:90a:d24b:: with SMTP id o11mr17790285pjw.207.1634565284901; Mon, 18 Oct 2021 06:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634565284; cv=none; d=google.com; s=arc-20160816; b=aNUbwhVjgLjRPPbeABZFgs2tX+hMU+QUqp3biWYS5WSPoVcLjvcOpLTuQ5HLyT8co7 b0h/9fcOrxvAY2LxyDatsIVtAp8fn2MQfGZtVYJdg6+afYuaruDPkT1ODJpPOVCnF0ok +EnTcCRU18hEPnYGmYNULCvLNCoNd01IEi1LN0cutQwrPwmDu1AA8iLSXjEBQHRo4gL4 zSP8rCIcQw5EDQBmgAbiMiKVedSk8vu4ENRq/RanQtv6IuDwgPkh9iugzYJOzIcEK1Sk ZW6Bk4GhQKHDaF7GkGDNXmlaTYsXq//9EtUcFv5z6WS0BqJENTWh6izlU1pEogU7BUR/ okYw== 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=WvUF+Jc/Lzi9vgnabOUUaV688MzsShiGmQMRkOn06R4=; b=iezQfc6zLWbG7/UOePvmsbMDc6Bb/or0cBFsen0EJzzB3vUef9WCuFOj95fTVT0sth aLnoEypYvQOhZs2Yh6VsN1+Mj42PMj26qVQIf45MatiXQyrCuNtROGrQnBY5mhPmrAW9 kcFhCo5ZycaFivx30yXdYnr9kod+8+5aMjoPOuHJSeie9AD52T3/RuBNsAeEC5F94l7C ovsJEM2WxMipzorjs/k0iOpX5yk4SSQcD8t0IVnIVSoFb/A4PSXgUZbgsSAN+0XSVISP SB5nLZwoVQ86zxu978UmGEeffifZTeiEQK3Sp6cl0Kl/mkZfaMCmHSm/7GQ1TF9hm0Or MhWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AeywZiEL; 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 x16si20737450pgj.261.2021.10.18.06.54.32; Mon, 18 Oct 2021 06:54:44 -0700 (PDT) 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=AeywZiEL; 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 S234238AbhJRNzV (ORCPT + 99 others); Mon, 18 Oct 2021 09:55:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:49664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233343AbhJRNvX (ORCPT ); Mon, 18 Oct 2021 09:51:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9DB8F61212; Mon, 18 Oct 2021 13:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634564293; bh=QzaxEhbFDUPCJRZZCLQuPX6P0fyQo325U595C7kjpmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AeywZiELf/auQB5XRCrvMSAtiCLJak4RzqGjIiOVVxsVErvRL842CIMfruAEeMbU4 lxir0QEtnumg5HiK69PG9lLwZOk1Z2qxFkGtdJ2Cun6vs5PlRCI1Y2su/ksxfjYBhF 3sEUdZyzfKcqdhyxBqrf9YOtdgmUJ7QyzFoqa1TI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Chiu , Takashi Iwai Subject: [PATCH 5.14 006/151] ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254 Date: Mon, 18 Oct 2021 15:23:05 +0200 Message-Id: <20211018132340.892616202@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132340.682786018@linuxfoundation.org> References: <20211018132340.682786018@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: Chris Chiu commit 2b987fe84429361c7f189568c476d1bd00d2ff7e upstream. The headphone mic is not working on Dell Latitude laptops with ALC3254. The codec vendor id is 0x10ec0295 and share the same pincfg as defined in ALC295_STANDARD_PINS. So the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE will be applied per alc269_pin_fixup_tbl[] but actually the headphone mic is using NID 0x1b instead of 0x1a. The ALC269_FIXUP_DELL4_MIC_NO_PRESENCE need to be applied instead. Use ALC269_FIXUP_DELL4_MIC_NO_PRESENCE for particular models before a generic fixup comes out. Signed-off-by: Chris Chiu Cc: Link: https://lore.kernel.org/r/20211001062856.1037901-1-chris.chiu@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8466,6 +8466,8 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x1028, 0x0a58, "Dell", ALC255_FIXUP_DELL_HEADSET_MIC), SND_PCI_QUIRK(0x1028, 0x0a61, "Dell XPS 15 9510", ALC289_FIXUP_DUAL_SPK), SND_PCI_QUIRK(0x1028, 0x0a62, "Dell Precision 5560", ALC289_FIXUP_DUAL_SPK), + SND_PCI_QUIRK(0x1028, 0x0a9d, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x0a9e, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),