Add quirk to enable mic and headphones redirection on HP Spectre laptops.
Tested on HP AF006UR. MFC after: 2 weeks
This commit is contained in:
parent
bc6f170e30
commit
20694769bd
@ -410,6 +410,18 @@ hdac_pin_patch(struct hdaa_widget *w)
|
||||
patch = "as=1 seq=15";
|
||||
break;
|
||||
}
|
||||
} else if (id == HDA_CODEC_ALC295 && subid == HP_AF006UR_SUBVENDOR) {
|
||||
switch (nid) {
|
||||
case 18:
|
||||
patch = "as=2";
|
||||
break;
|
||||
case 25:
|
||||
patch = "as=2 seq=15";
|
||||
break;
|
||||
case 33:
|
||||
patch = "as=1 seq=15";
|
||||
break;
|
||||
}
|
||||
} else if (id == HDA_CODEC_ALC298 && subid == DELL_XPS9560_SUBVENDOR) {
|
||||
switch (nid) {
|
||||
case 24:
|
||||
|
@ -188,6 +188,7 @@
|
||||
#define HP_DV5000_SUBVENDOR HDA_MODEL_CONSTRUCT(HP, 0x30a5)
|
||||
#define HP_DC7700S_SUBVENDOR HDA_MODEL_CONSTRUCT(HP, 0x2801)
|
||||
#define HP_DC7700_SUBVENDOR HDA_MODEL_CONSTRUCT(HP, 0x2802)
|
||||
#define HP_AF006UR_SUBVENDOR HDA_MODEL_CONSTRUCT(HP, 0x83a2)
|
||||
#define HP_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(HP, 0xffff)
|
||||
/* What is wrong with XN 2563 anyway? (Got the picture ?) */
|
||||
#define HP_NX6325_SUBVENDORX 0x103c30b0
|
||||
|
Loading…
Reference in New Issue
Block a user