diff options
author | marius <marius@FreeBSD.org> | 2014-04-26 00:40:16 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2014-04-26 00:40:16 +0000 |
commit | 7d037e3a60114c023ee961b9b46c5697e454e731 (patch) | |
tree | a7dcd3daf20b02ac9f8d3a6da5a02f05ac7b2a7f /sys/dev/sound | |
parent | ad9e466c20bd5e2f9eef5f03cc8fc44a2b78c317 (diff) | |
download | FreeBSD-src-7d037e3a60114c023ee961b9b46c5697e454e731.zip FreeBSD-src-7d037e3a60114c023ee961b9b46c5697e454e731.tar.gz |
MFC: r264831
Add quirk to configure headphones redirection on Intel DH87RL boards.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/hda/hdaa_patches.c | 9 | ||||
-rw-r--r-- | sys/dev/sound/pci/hda/hdac.h | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 6187f74..1da4de8 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -356,7 +356,7 @@ hdac_pin_patch(struct hdaa_widget *w) case 25: patch = "as=1 seq=15"; break; - /* + /* * Group onboard mic and headphone mic * together. Fixes onboard mic. */ @@ -384,6 +384,13 @@ hdac_pin_patch(struct hdaa_widget *w) patch = "as=1 seq=15"; break; } + } else if (id == HDA_CODEC_ALC892 && + subid == INTEL_DH87RL_SUBVENDOR) { + switch (nid) { + case 27: + patch = "as=1 seq=15"; + break; + } } if (patch != NULL) diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 5624f0a..2dc7ec9 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -155,6 +155,7 @@ /* OEM/subvendors */ /* Intel */ +#define INTEL_DH87RL_SUBVENDOR HDA_MODEL_CONSTRUCT(INTEL, 0x204a) #define INTEL_D101GGC_SUBVENDOR HDA_MODEL_CONSTRUCT(INTEL, 0xd600) /* HP/Compaq */ |