Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 00:40:16 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r264958 - stable/10/sys/dev/sound/pci/hda
Message-ID:  <201404260040.s3Q0eGWC033158@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Apr 26 00:40:16 2014
New Revision: 264958
URL: http://svnweb.freebsd.org/changeset/base/264958

Log:
  MFC: r264831
  
  Add quirk to configure headphones redirection on Intel DH87RL boards.

Modified:
  stable/10/sys/dev/sound/pci/hda/hdaa_patches.c
  stable/10/sys/dev/sound/pci/hda/hdac.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdaa_patches.c	Sat Apr 26 00:40:02 2014	(r264957)
+++ stable/10/sys/dev/sound/pci/hda/hdaa_patches.c	Sat Apr 26 00:40:16 2014	(r264958)
@@ -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)

Modified: stable/10/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdac.h	Sat Apr 26 00:40:02 2014	(r264957)
+++ stable/10/sys/dev/sound/pci/hda/hdac.h	Sat Apr 26 00:40:16 2014	(r264958)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404260040.s3Q0eGWC033158>