The branch stable/15 has been updated by christos:

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

commit 4991bb6a5c45b518df9b1a265c4f6f8c17ea4493
Author:     Christos Margiolis <[email protected]>
AuthorDate: 2025-11-17 16:09:18 +0000
Commit:     Christos Margiolis <[email protected]>
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 */

Reply via email to