Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1325780pxu; Thu, 8 Oct 2020 08:48:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOxFflh3OkIRVbaUJ/fg9ivZJt7hG3YdAtYppss46i+XmUrDTa042kuV1xxLc7+qBc/Jfu X-Received: by 2002:a50:d5d8:: with SMTP id g24mr9456788edj.119.1602172081293; Thu, 08 Oct 2020 08:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602172081; cv=none; d=google.com; s=arc-20160816; b=b0KJv33SYWsRXIdlumQXxbM8f/9pKzWAtoQrsZeVfMotB9Jt3IjpeBEB0w7nuM08As Uo/D6PRLuKAXUFa9TN1KDu5sPzKsIWuun04Sfc0hDElCxxl+epfoGwA3BJi+1LlUoJsk lPVtqH43qVTrzFvq4EPWGzP0yl2BDBT8t+2VDl1p9cQIwDkairKwr/glV8lkPjTRvxLg LaxxOtSKhsH9hMskX/T6kp5WBDTK3o2iCOZUDLWxWiLvRpAjyQzsVFAoEvmRqMuhR8AX dWnuZBo7AH6/0la0QSSCmAhPc0zePKZY0E683VcqlBkxys2fn0sfUWCYdGfl6djgSn4j 39kA== 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 :message-id:date:subject:cc:to:from; bh=3qQvr9ZLNzWSa26u/vMB9vlQYbu6ML8dnAj6ut1yog4=; b=tIgAxy3NVcipYCiAosM1AwxQiPBd5ppIuqGX6fqlNfft87UuWQhid6pd7jziA+kxsL tJccDR8U9ygdoxScI0bAnWuZouT/rBros0Mh8+SCQqHkgcEnsK8CigNBg4hYPITvJRPk tzbVphLYYm/VYoKYeIf5DaaKYDIBzxwmKe0DfSIKBjd87mRcKkp1F4HtGGnBNgyvLAzl NlLAusbSRZTuCenJFM9oc10uoG7SvfvtIcPSfTn2/lG8CZLAqU17gUDqF/GRGBswmBrj WYFc0i8UNex8z2AB9dSsrOPbnIoPIMMckc4oQxi7OEvBo2Jlm0JcAmKzTk9x6O5jGVBW u9oA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c25si4026988ejs.444.2020.10.08.08.47.37; Thu, 08 Oct 2020 08:48:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729684AbgJHK5u (ORCPT + 99 others); Thu, 8 Oct 2020 06:57:50 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:51876 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727224AbgJHK5u (ORCPT ); Thu, 8 Oct 2020 06:57:50 -0400 Received: from 61-220-137-37.hinet-ip.hinet.net ([61.220.137.37] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kQTc2-00052a-VN; Thu, 08 Oct 2020 10:57:31 +0000 From: Jeremy Szu To: tiwai@suse.com Cc: Jeremy Szu , Jaroslav Kysela , Kailang Yang , Hui Wang , Jian-Hong Pan , Kai-Heng Feng , Huacai Chen , Thomas Hebb , =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ALSA: hda/realtek - The front Mic on a HP machine doesn't work Date: Thu, 8 Oct 2020 18:56:44 +0800 Message-Id: <20201008105645.65505-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On a HP ZCentral, the front Mic could not be detected. The codec of the HP ZCentrol is alc671 and it needs to override the pin configuration to enable the headset mic. Signed-off-by: Jeremy Szu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index d4f17b465892..add79ed08bdb 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9622,6 +9622,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800), + SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE), SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_ASUS_Nx50), SND_PCI_QUIRK(0x1043, 0x13df, "Asus N550JX", ALC662_FIXUP_BASS_1A), -- 2.28.0