svn commit: r264957 - stable/9/sys/dev/sound/pci/hda
Marius Strobl
marius at FreeBSD.org
Sat Apr 26 00:40:03 UTC 2014
Author: marius
Date: Sat Apr 26 00:40:02 2014
New Revision: 264957
URL: http://svnweb.freebsd.org/changeset/base/264957
Log:
MFC: r264831
Add quirk to configure headphones redirection on Intel DH87RL boards.
Modified:
stable/9/sys/dev/sound/pci/hda/hdaa_patches.c
stable/9/sys/dev/sound/pci/hda/hdac.h
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- stable/9/sys/dev/sound/pci/hda/hdaa_patches.c Fri Apr 25 22:23:38 2014 (r264956)
+++ stable/9/sys/dev/sound/pci/hda/hdaa_patches.c Sat Apr 26 00:40:02 2014 (r264957)
@@ -351,7 +351,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.
*/
@@ -379,6 +379,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)
Modified: stable/9/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/9/sys/dev/sound/pci/hda/hdac.h Fri Apr 25 22:23:38 2014 (r264956)
+++ stable/9/sys/dev/sound/pci/hda/hdac.h Sat Apr 26 00:40:02 2014 (r264957)
@@ -146,6 +146,7 @@
/* OEM/subvendors */
/* Intel */
+#define INTEL_DH87RL_SUBVENDOR HDA_MODEL_CONSTRUCT(INTEL, 0x204a)
#define INTEL_D101GGC_SUBVENDOR HDA_MODEL_CONSTRUCT(INTEL, 0xd600)
/* HP/Compaq */
More information about the svn-src-stable-9
mailing list