Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2025 12:25:23 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4991bb6a5c45 - stable/15 - snd_hda: Patch Lenovo V15
Message-ID:  <69244eb3.fc88.15ca5dd6@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=4991bb6a5c45b518df9b1a265c4f6f8c17ea4493

commit 4991bb6a5c45b518df9b1a265c4f6f8c17ea4493
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-11-17 16:09:18 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-11-24 12:25:19 +0000

    snd_hda: Patch Lenovo V15
    
    PR:             290496
    Tested by:      adrian
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    
    (cherry picked from commit 5f624d923db0f2fb33990948cffdc24da44deaa8)
---
 sys/dev/sound/pci/hda/hdaa_patches.c | 3 ++-
 sys/dev/sound/pci/hda/hdac.h         | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
index 91bb244578c7..d4267aae80f8 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -341,7 +341,8 @@ hdac_pin_patch(struct hdaa_widget *w)
 	} else if (id == HDA_CODEC_ALC257 &&
 	    (subid == LENOVO_L5AMD_SUBVENDOR ||
 	    subid == LENOVO_L5INTEL_SUBVENDOR ||
-	    subid == LENOVO_IDEAPAD3_SUBVENDOR)) {
+	    subid == LENOVO_IDEAPAD3_SUBVENDOR ||
+	    subid == LENOVO_V15_SUBVENDOR)) {
 		switch (nid) {
 		case 20:
 			patch_str = "as=1 seq=0";
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index c11e6b2d6810..04b925b31fd4 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -389,6 +389,7 @@
 #define	LENOVO_3000_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x384e)
 #define	LENOVO_IDEAPAD330_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x3808)
 #define	LENOVO_IDEAPAD3_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x3881)
+#define	LENOVO_V15_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x3886)
 #define LENOVO_ALL_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
 
 /* Samsung */


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69244eb3.fc88.15ca5dd6>