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 <dhs@frame.work> 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
This commit is contained in:
@@ -362,8 +362,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:
|
||||
/*
|
||||
|
||||
@@ -536,6 +536,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) \
|
||||
|
||||
Reference in New Issue
Block a user