From nobody Sun Nov 24 09:57:11 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1B911D4333; Wed, 6 Nov 2024 02:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730859224; cv=none; b=Jv8MatwnJ3ovcY1U2fMKyeVF9PY+8eRehZ0CAZnIZNFrlflLBDsNMGtSNqOOpwo8w832X4v7NIUjMpi/QFWI1gyE8H3HnkLq0hkCv+KzhUxy4aLUwAEE8Hni66HPd9yDiUTUj2fX8dyLt5DI12yo7Q/5nPI0oeT4NYh9JfdMQAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730859224; c=relaxed/simple; bh=fvlNTyDTP3UD755VShR9WxYxXdttjUDV+RDgu8Agd4M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HPu3wwegEBn0jixODr9Oi8yuZM+JC4ZVmEHIchEADPH2OitFDVLZQ3vAEZSfzshcscVSSv7LOEcZm1XbsAQMD32xvlvoRw6MOJhAVpDf1zGTGARhS7GtnNun9+2Ne6ydQL+0SVRbKCLBcsDvejCVZYHJUio4Jk58vhBUq77ik98= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mqxYXinI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mqxYXinI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5CB6C4CECF; Wed, 6 Nov 2024 02:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730859224; bh=fvlNTyDTP3UD755VShR9WxYxXdttjUDV+RDgu8Agd4M=; h=From:To:Cc:Subject:Date:From; b=mqxYXinIrs31/f9PqWpN4fwBSVdcFY7qjtQvzgHlQjMb7Y+0YUfyaQG2iTIY4QcXE fFxw47OVcunVWQ8WgzAXqU+N8a0OO4IMbctX1ETzEa1dcudcIo+Chtia1XDf1qssBz +WqyREiGUfrGXVx9j+jOopDT+mwptCHQuqKfplsAWg1feNpKZPHBCxYP6bwi79uPvo b0N7xr8W6kBj/STbFAecEz2yw/hlu1w36gqLiIfOzo58botR5aaBTcs86cX0/q88VD 0sXGLSmNJl4kIyxHHqYHIiYVng3DuCXpsNYNRmB1wSrCioqFG57XIRgQcZCqaumedX OLYHHWBA5OLwA== From: Sasha Levin To: stable@vger.kernel.org, kailang@realtek.com Cc: Takashi Iwai , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: FAILED: Patch "ALSA: hda/realtek: Limit internal Mic boost on Dell platform" failed to apply to v5.4-stable tree Date: Tue, 5 Nov 2024 21:13:40 -0500 Message-ID: <20241106021340.183765-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The patch below does not apply to the v5.4-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ From 78e7be018784934081afec77f96d49a2483f9188 Mon Sep 17 00:00:00 2001 From: Kailang Yang Date: Fri, 18 Oct 2024 13:53:24 +0800 Subject: [PATCH] ALSA: hda/realtek: Limit internal Mic boost on Dell platfo= rm Dell want to limit internal Mic boost on all Dell platform. Signed-off-by: Kailang Yang Cc: Link: https://lore.kernel.org/561fc5f5eff04b6cbd79ed173cd1c1db@realtek.com Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_realtek.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3567b14b52b7c..784ac058418fc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7521,6 +7521,7 @@ enum { ALC286_FIXUP_SONY_MIC_NO_PRESENCE, ALC269_FIXUP_PINCFG_NO_HP_TO_LINEOUT, ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, + ALC269_FIXUP_DELL1_LIMIT_INT_MIC_BOOST, ALC269_FIXUP_DELL2_MIC_NO_PRESENCE, ALC269_FIXUP_DELL3_MIC_NO_PRESENCE, ALC269_FIXUP_DELL4_MIC_NO_PRESENCE, @@ -7555,6 +7556,7 @@ enum { ALC255_FIXUP_ACER_MIC_NO_PRESENCE, ALC255_FIXUP_ASUS_MIC_NO_PRESENCE, ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, + ALC255_FIXUP_DELL1_LIMIT_INT_MIC_BOOST, ALC255_FIXUP_DELL2_MIC_NO_PRESENCE, ALC255_FIXUP_HEADSET_MODE, ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC, @@ -8114,6 +8116,12 @@ static const struct hda_fixup alc269_fixups[] =3D { .chained =3D true, .chain_id =3D ALC269_FIXUP_HEADSET_MODE }, + [ALC269_FIXUP_DELL1_LIMIT_INT_MIC_BOOST] =3D { + .type =3D HDA_FIXUP_FUNC, + .v.func =3D alc269_fixup_limit_int_mic_boost, + .chained =3D true, + .chain_id =3D ALC269_FIXUP_DELL1_MIC_NO_PRESENCE + }, [ALC269_FIXUP_DELL2_MIC_NO_PRESENCE] =3D { .type =3D HDA_FIXUP_PINS, .v.pins =3D (const struct hda_pintbl[]) { @@ -8394,6 +8402,12 @@ static const struct hda_fixup alc269_fixups[] =3D { .chained =3D true, .chain_id =3D ALC255_FIXUP_HEADSET_MODE }, + [ALC255_FIXUP_DELL1_LIMIT_INT_MIC_BOOST] =3D { + .type =3D HDA_FIXUP_FUNC, + .v.func =3D alc269_fixup_limit_int_mic_boost, + .chained =3D true, + .chain_id =3D ALC255_FIXUP_DELL1_MIC_NO_PRESENCE + }, [ALC255_FIXUP_DELL2_MIC_NO_PRESENCE] =3D { .type =3D HDA_FIXUP_PINS, .v.pins =3D (const struct hda_pintbl[]) { @@ -11076,6 +11090,7 @@ static const struct hda_model_fixup alc269_fixup_mo= dels[] =3D { {.id =3D ALC269_FIXUP_DELL2_MIC_NO_PRESENCE, .name =3D "dell-headset-dock= "}, {.id =3D ALC269_FIXUP_DELL3_MIC_NO_PRESENCE, .name =3D "dell-headset3"}, {.id =3D ALC269_FIXUP_DELL4_MIC_NO_PRESENCE, .name =3D "dell-headset4"}, + {.id =3D ALC269_FIXUP_DELL4_MIC_NO_PRESENCE_QUIET, .name =3D "dell-headse= t4-quiet"}, {.id =3D ALC283_FIXUP_CHROME_BOOK, .name =3D "alc283-dac-wcaps"}, {.id =3D ALC283_FIXUP_SENSE_COMBO_JACK, .name =3D "alc283-sense-combo"}, {.id =3D ALC292_FIXUP_TPT440_DOCK, .name =3D "tpt440-dock"}, @@ -11630,16 +11645,16 @@ static const struct snd_hda_pin_quirk alc269_fall= back_pin_fixup_tbl[] =3D { SND_HDA_PIN_QUIRK(0x10ec0289, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_P= RESENCE, {0x19, 0x40000000}, {0x1b, 0x40000000}), - SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_P= RESENCE, + SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_P= RESENCE_QUIET, {0x19, 0x40000000}, {0x1b, 0x40000000}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_P= RESENCE, {0x19, 0x40000000}, {0x1a, 0x40000000}), - SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_P= RESENCE, + SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_LIMIT_IN= T_MIC_BOOST, {0x19, 0x40000000}, {0x1a, 0x40000000}), - SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC274_FIXUP_DELL_AIO_LINEO= UT_VERB, + SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC269_FIXUP_DELL1_LIMIT_IN= T_MIC_BOOST, {0x19, 0x40000000}, {0x1a, 0x40000000}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC2XX_FIXUP_HEADSET_MIC, --=20 2.43.0