The branch main has been updated by christos:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=278953360e0e6187c3f7c688cb49254df1567f0b

commit 278953360e0e6187c3f7c688cb49254df1567f0b
Author:     Christos Margiolis <chris...@freebsd.org>
AuthorDate: 2024-05-14 13:42:15 +0000
Commit:     Christos Margiolis <chris...@freebsd.org>
CommitDate: 2024-05-14 13:42:15 +0000

    snd_hda: Rename LENOVO_I* to LENOVO_IDEAPAD*
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D45105
---
 sys/dev/sound/pci/hda/hdaa_patches.c | 4 ++--
 sys/dev/sound/pci/hda/hdac.h         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c 
b/sys/dev/sound/pci/hda/hdaa_patches.c
index 76f677d69614..9f3532562252 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -319,7 +319,7 @@ hdac_pin_patch(struct hdaa_widget *w)
        } else if (id == HDA_CODEC_ALC257 &&
            (subid == LENOVO_L5AMD_SUBVENDOR ||
            subid == LENOVO_L5INTEL_SUBVENDOR ||
-           subid == LENOVO_I3_SUBVENDOR)) {
+           subid == LENOVO_IDEAPAD3_SUBVENDOR)) {
                switch (nid) {
                case 20:
                        patch_str = "as=1 seq=0";
@@ -340,7 +340,7 @@ hdac_pin_patch(struct hdaa_widget *w)
                        break;
                }
        } else if (id == HDA_CODEC_ALC230 &&
-           subid == LENOVO_I330_SUBVENDOR) {
+           subid == LENOVO_IDEAPAD330_SUBVENDOR) {
                switch (nid) {
                case 20:
                        patch_str = "as=1 seq=0 device=Speaker";
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index 12552286bd8c..6a3314280a22 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -382,8 +382,8 @@
 #define        LENOVO_L5AMD_SUBVENDOR  HDA_MODEL_CONSTRUCT(LENOVO, 0x381b)
 #define        LENOVO_L5INTEL_SUBVENDOR        HDA_MODEL_CONSTRUCT(LENOVO, 
0x380f)
 #define        LENOVO_3000_SUBVENDOR   HDA_MODEL_CONSTRUCT(LENOVO, 0x384e)
-#define        LENOVO_I330_SUBVENDOR   HDA_MODEL_CONSTRUCT(LENOVO, 0x3808)
-#define        LENOVO_I3_SUBVENDOR     HDA_MODEL_CONSTRUCT(LENOVO, 0x3881)
+#define        LENOVO_IDEAPAD330_SUBVENDOR     HDA_MODEL_CONSTRUCT(LENOVO, 
0x3808)
+#define        LENOVO_IDEAPAD3_SUBVENDOR       HDA_MODEL_CONSTRUCT(LENOVO, 
0x3881)
 #define LENOVO_ALL_SUBVENDOR   HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
 
 /* Samsung */

Reply via email to