Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp521192pxb; Wed, 18 Aug 2021 07:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpzAwgdUeYmBsFwZAsTWI9gAu85TRFGf/17wIpJfgB0wA6xbJBTUGandoktpVkAqoLqZnH X-Received: by 2002:a50:ef14:: with SMTP id m20mr10550327eds.209.1629297818933; Wed, 18 Aug 2021 07:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629297818; cv=none; d=google.com; s=arc-20160816; b=mYnLMXo4SzF//Bik4vWryUOq6KELgnAcAhb4GudlvJ8abEwi4J1+tblW09ivNM2Dii U8ukzb5nhXkbM8vwlb/tLXvXAI1/YLWd+ulBNO1PC4lYV6UvNtRWVXH7+eOcJaW/SmqS xUTaJo6GXleXJloMU14z6WFuhaCepK5bmJtsxexFx4q4bYoqcm/fEUEKPLjOwl9M1Dg7 8hU7blRDjmnV+dFNaz3TJ9a2PUNkB9cLu+eMSO8e8B++LsWrDmIlOtMJBCgOe4V6nLhC QhnFjdn82iv4t3bWykEoOIJE5xT492KGFOOqYN8uFomFHDQvvRoxZAJlDLfeU0zE6hKy 4bqQ== 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:dkim-signature; bh=rpYQZJkVgHmqwjumc9YZsbkB/HagkENpYBYIqPk3wwM=; b=0yEYwHoNoS/g3namrpPNdN+oSP8DVKMu16QnqT5Lz4Gdcb1kVEWOh+paqmbVhYeWDC UNIHV4PgMSRwpVHb/b3n4RyH2J+dYU82D9kDB0WSGDWzJkvOK/XM03FJrFaKiCMKnleD lRRtwo2vtskJvazaPQuHX9z38FnOcROMQg6PgzMFQuiz9c0ttkNQ1TMF09k/3a137gsc e2RAr13OnOq3769lXikekZr3ooSSLk95qquAZLarTuIBY1Uru7taybr8JCKfbO97SyPR yYs1TLJrAe76bP12p5XriuFfnLqynVQMLTFQt9ZFWh12ANhiSOP0clqmwojgpkWlgvFB bumg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=AnznNO2B; 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl8si26452ejb.460.2021.08.18.07.43.13; Wed, 18 Aug 2021 07:43:38 -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=@canonical.com header.s=20210705 header.b=AnznNO2B; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239436AbhHROmJ (ORCPT + 99 others); Wed, 18 Aug 2021 10:42:09 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:52278 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238701AbhHROmI (ORCPT ); Wed, 18 Aug 2021 10:42:08 -0400 Received: from localhost.localdomain (1-171-94-217.dynamic-ip.hinet.net [1.171.94.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 6266F3F22D; Wed, 18 Aug 2021 14:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629297693; bh=rpYQZJkVgHmqwjumc9YZsbkB/HagkENpYBYIqPk3wwM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AnznNO2B+u1KZWg60EjPbLMutpwzbgyrY+ojeRNxn6JmhlkoxUi5ja7MhwYdyid5p 2dkdOoNWeoENtk8O+nNWbPTj+vlgjytzkE502ojh6qSX0Zi8vLZfT8EakRzkcZLQyN qOvan470Ux70EcuZ+5qGfdjvIUdIi7jKE04IoO6q+ILHfTaxsP3pppqUbTl2/I70P0 pxwZW+uHkm0HT/Cwz5WdOcDQCAzL8fRdMs3hxJjPFeZltx6QVjBnU3Bkw3UtzG6SPq DKtIm/BoDeTW2BDs/TaZAE5ADB904609yQT47wlIJpLJApRvzjyCLD0wI0MdFJP9z7 5mHN98cM5PdCw== From: Kai-Heng Feng To: tiwai@suse.com Cc: Kai-Heng Feng , Jaroslav Kysela , Jeremy Szu , Kailang Yang , Hui Wang , Jian-Hong Pan , Chris Chiu , PeiSen Hou , Luke D Jones , Sami Loone , Werner Sembach , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8 Date: Wed, 18 Aug 2021 22:41:18 +0800 Message-Id: <20210818144119.121738-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mic has lots of noises if mic boost is enabled. So disable mic boost to get crystal clear audio capture. Signed-off-by: Kai-Heng Feng --- sound/pci/hda/patch_realtek.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8b72064f83211..cdd87917dd8cf 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6645,6 +6645,7 @@ enum { ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP, ALC623_FIXUP_LENOVO_THINKSTATION_P340, ALC255_FIXUP_ACER_HEADPHONE_AND_MIC, + ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST, }; static const struct hda_fixup alc269_fixups[] = { @@ -8229,6 +8230,12 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC255_FIXUP_XIAOMI_HEADSET_MIC }, + [ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc269_fixup_limit_int_mic_boost, + .chained = true, + .chain_id = ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF, + }, }; static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -8425,8 +8432,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), - SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), - SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST), + SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), -- 2.32.0