svn commit: r269547 - stable/9/sys/dev/sound/pci/hda
Mark Johnston
markj at FreeBSD.org
Tue Aug 5 01:03:12 UTC 2014
Author: markj
Date: Tue Aug 5 01:03:11 2014
New Revision: 269547
URL: http://svnweb.freebsd.org/changeset/base/269547
Log:
MFC r268584:
Add a headphone redirection quirk for the Lenovo G580.
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 Tue Aug 5 01:03:10 2014 (r269546)
+++ stable/9/sys/dev/sound/pci/hda/hdaa_patches.c Tue Aug 5 01:03:11 2014 (r269547)
@@ -346,7 +346,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/9/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/9/sys/dev/sound/pci/hda/hdac.h Tue Aug 5 01:03:10 2014 (r269546)
+++ stable/9/sys/dev/sound/pci/hda/hdac.h Tue Aug 5 01:03:11 2014 (r269547)
@@ -232,6 +232,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 */
More information about the svn-src-stable-9
mailing list