Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 01:03:11 +0000 (UTC)
From:      Mark Johnston <markj@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: r269546 - stable/10/sys/dev/sound/pci/hda
Message-ID:  <53e02d4f.596f.4f02dc@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Aug  5 01:03:10 2014
New Revision: 269546
URL: http://svnweb.freebsd.org/changeset/base/269546

Log:
  MFC r268584:
  Add a headphone redirection quirk for the Lenovo G580.

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	Tue Aug  5 00:25:46 2014	(r269545)
+++ stable/10/sys/dev/sound/pci/hda/hdaa_patches.c	Tue Aug  5 01:03:10 2014	(r269546)
@@ -351,7 +351,8 @@ hdac_pin_patch(struct hdaa_widget *w)
 	    (subid == LENOVO_X1_SUBVENDOR ||
 	    subid == LENOVO_X220_SUBVENDOR ||
 	    subid == LENOVO_T420_SUBVENDOR ||
-	    subid == LENOVO_T520_SUBVENDOR)) {
+	    subid == LENOVO_T520_SUBVENDOR ||
+	    subid == LENOVO_G580_SUBVENDOR)) {
 		switch (nid) {
 		case 25:
 			patch = "as=1 seq=15";

Modified: stable/10/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdac.h	Tue Aug  5 00:25:46 2014	(r269545)
+++ stable/10/sys/dev/sound/pci/hda/hdac.h	Tue Aug  5 01:03:10 2014	(r269546)
@@ -241,6 +241,7 @@
 #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_G580_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x3977)
 #define LENOVO_ALL_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
 
 /* Samsung */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e02d4f.596f.4f02dc>