diff options
author | delphij <delphij@FreeBSD.org> | 2013-03-13 20:35:51 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-03-13 20:35:51 +0000 |
commit | 731061beabff7b87230da8252aed09e0a08701ea (patch) | |
tree | 7dd1e6390e0a3aaa4ae70da762b1d8d056a3faa1 /sys/dev/sound/pci | |
parent | 8541659a3527df10d2bfa2a8b157f2f42152e5ed (diff) | |
download | FreeBSD-src-731061beabff7b87230da8252aed09e0a08701ea.zip FreeBSD-src-731061beabff7b87230da8252aed09e0a08701ea.tar.gz |
Add quirk for Lenovo T530 headphone redirection.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/sound/pci')
-rw-r--r-- | sys/dev/sound/pci/hda/hdaa_patches.c | 3 | ||||
-rw-r--r-- | sys/dev/sound/pci/hda/hdac.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index b74ea7d..cd1a4f6 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -346,7 +346,8 @@ hdac_pin_patch(struct hdaa_widget *w) } else if (id == HDA_CODEC_ALC269 && (subid == LENOVO_X1CRBN_SUBVENDOR || subid == LENOVO_T430_SUBVENDOR || - subid == LENOVO_T430S_SUBVENDOR)) { + subid == LENOVO_T430S_SUBVENDOR || + subid == LENOVO_T530_SUBVENDOR)) { switch (nid) { case 21: patch = "as=1 seq=15"; diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 27cf148..89087f4 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -228,6 +228,7 @@ #define LENOVO_T430_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21f3) #define LENOVO_T430S_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21fb) #define LENOVO_T520_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21cf) +#define LENOVO_T530_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21f6) #define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff) /* Samsung */ |