The branch stable/14 has been updated by aokblast:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=241ed8bba288d3d7eb569d3297724ee509be6469

commit 241ed8bba288d3d7eb569d3297724ee509be6469
Author:     ShengYi Hung <[email protected]>
AuthorDate: 2025-09-08 11:15:14 +0000
Commit:     ShengYi Hung <[email protected]>
CommitDate: 2026-03-04 14:16:34 +0000

    snd_hda: Add patch for Framework 16 AMD Ryzen AI 300 Series
    
    The new Framework 16 with ALC285 exhibits the same issue as the previous
    model. Therefore, we apply the same fix to the new model.
    
    Reviewed by:    emaste, Daniel Schaefer <[email protected]>
    Approved by:    lwhsu (mentor)
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Sponsored by:   Framework Computer Inc
    Differential Revision: https://reviews.freebsd.org/D52423
    
    (cherry picked from commit 7f81b2519aebcf90d7e027122ca99b628ca81ed9)
---
 sys/dev/sound/pci/hda/hdaa_patches.c | 6 ++++--
 sys/dev/sound/pci/hda/hdac.h         | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c 
b/sys/dev/sound/pci/hda/hdaa_patches.c
index ae609e60eea2..f62d3d7d2549 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -356,8 +356,10 @@ hdac_pin_patch(struct hdaa_widget *w)
                        patch_str = "as=3 seq=15 color=Black loc=Left";
                        break;
                }
-       } else if (id == HDA_CODEC_ALC295 &&
-           subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) {
+       } else if ((id == HDA_CODEC_ALC295 &&
+           subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) ||
+           (id == HDA_CODEC_ALC285 &&
+           subid == FRAMEWORK_LAPTOP_000D_SUBVENDOR)) {
                switch (nid) {
                case 20:
                        /*
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index e19508ea3535..18d317cf90c6 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -533,6 +533,7 @@
 #define FRAMEWORK_LAPTOP_0003_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0003)
 #define FRAMEWORK_LAPTOP_0005_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0005)
 #define FRAMEWORK_LAPTOP_0006_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0006)
+#define FRAMEWORK_LAPTOP_000D_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x000d)
 
 /* All codecs you can eat... */
 #define HDA_CODEC_CONSTRUCT(vendor, id) \

Reply via email to