From nobody Sun Nov 24 09:26:59 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 8483D1DEFC9; Wed, 6 Nov 2024 02:11:55 +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=1730859115; cv=none; b=bD0Hl8UCjIHazTmX64PSxj2RTbrpxZtuqT36GB2k12mPkoX2Il8oIukXGzXxtCNSZchLGk2XJO1NylJIU0+bVpRLwY2qKlze0zDVpgGD1BSOtUKuQ/sAl/eDMiKNEO2cTn9c4OCeCyHu1fwzuISoal/k3ngeLXfQ6nvBFY1+hyo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730859115; c=relaxed/simple; bh=0lHDoS4+LifYzVm07ZSjBNaCD+VmdmFsjtKXss2EnMU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MhkIbOnufQQiDjbLGutRx0JuxOUyAxQsx348QPHYreYk8Ipl19Suly7Wr0K08S+a4Bqas+xk6YcTjt0yFRma0+/MJuL9ARAYV1bmU8lIGiSpJiOimCCeBmrn+RYpmhltbwiw25Pya8YW8fgKH6NqlkUD8XNnISE+djkCqFjjI6g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QKEf1Mis; 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="QKEf1Mis" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91A53C4CECF; Wed, 6 Nov 2024 02:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730859115; bh=0lHDoS4+LifYzVm07ZSjBNaCD+VmdmFsjtKXss2EnMU=; h=From:To:Cc:Subject:Date:From; b=QKEf1MisTz4li40UBJZC59wRpm9crj7r8yqcYr2Ki8UE62nv/Ot1nSwzWVL1w9AjM HRWywwMMoM8qkdrtrw+dhcfTROwFZvYWWwyCz8HJOoYTv/ORMHw82mRuY37A/OZ+Pa z4RCvsvBmN0Q09CrkluInnGSczCfJd0wZrHRuKErUFqHYHWHXJDIMsu8BQ/QdFXj4R yKMtMngin/jB4jKS3W0fynyk9JDuccTEC8NlOTBOFRN+TWbcbQN6BtDcHF/pamEWO2 4e5q3RqW0qvoOgiYvdoQnVeHBxpUiSTkiiKaJNBkRvUlU0iGmI1KVHNmXzzMybFSGz 3HOR19LuoyvJg== 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.15-stable tree Date: Tue, 5 Nov 2024 21:11:52 -0500 Message-ID: <20241106021153.182539-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.15-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