svn commit: r248254 - head/sys/dev/sound/pci/hda

Xin LI delphij at FreeBSD.org
Wed Mar 13 20:35:52 UTC 2013


Author: delphij
Date: Wed Mar 13 20:35:51 2013
New Revision: 248254
URL: http://svnweb.freebsd.org/changeset/base/248254

Log:
  Add quirk for Lenovo T530 headphone redirection.
  
  MFC after:	2 weeks

Modified:
  head/sys/dev/sound/pci/hda/hdaa_patches.c
  head/sys/dev/sound/pci/hda/hdac.h

Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdaa_patches.c	Wed Mar 13 18:43:25 2013	(r248253)
+++ head/sys/dev/sound/pci/hda/hdaa_patches.c	Wed Mar 13 20:35:51 2013	(r248254)
@@ -346,7 +346,8 @@ hdac_pin_patch(struct hdaa_widget *w)
 	} else if (id == HDA_CODEC_ALC269 &&
 	    (subid == LENOVO_X1CRBN_SUBVENDOR ||
 	    subid == LENOVO_T430_SUBVENDOR ||
-	    subid == LENOVO_T430S_SUBVENDOR)) {
+	    subid == LENOVO_T430S_SUBVENDOR ||
+	    subid == LENOVO_T530_SUBVENDOR)) {
 		switch (nid) {
 		case 21:
 			patch = "as=1 seq=15";

Modified: head/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.h	Wed Mar 13 18:43:25 2013	(r248253)
+++ head/sys/dev/sound/pci/hda/hdac.h	Wed Mar 13 20:35:51 2013	(r248254)
@@ -228,6 +228,7 @@
 #define	LENOVO_T430_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0x21f3)
 #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_ALL_SUBVENDOR	HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
 
 /* Samsung */


More information about the svn-src-all mailing list