diff options
author | marius <marius@FreeBSD.org> | 2014-04-23 19:25:59 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2014-04-23 19:25:59 +0000 |
commit | 08e875d49aefe996dc05764497ffd1cba93b916a (patch) | |
tree | bd0f10fb5bd54dc25f389e580aa647669b0bf8a1 /sys/dev/sound | |
parent | 222e977a76773a2fbb4fac594fe41d699b4389ea (diff) | |
download | FreeBSD-src-08e875d49aefe996dc05764497ffd1cba93b916a.zip FreeBSD-src-08e875d49aefe996dc05764497ffd1cba93b916a.tar.gz |
Add quirk to configure headphones redirection on Intel DH87RL boards.
MFC after: 3 days
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 c550ea8..9f46932 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -355,7 +355,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. */ @@ -383,6 +383,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 */ |