summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-08-05 01:03:10 +0000
committermarkj <markj@FreeBSD.org>2014-08-05 01:03:10 +0000
commit7e5599557db7c93bc578adef4acdfa84baf887b2 (patch)
treea64cab4f3a169236589abcbeb4546abd0bebe279 /sys/dev/sound
parent92ee24a48600d2c5ba18e62c5540e9f70d091ec3 (diff)
downloadFreeBSD-src-7e5599557db7c93bc578adef4acdfa84baf887b2.zip
FreeBSD-src-7e5599557db7c93bc578adef4acdfa84baf887b2.tar.gz
MFC r268584:
Add a headphone redirection quirk for the Lenovo G580.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/hda/hdaa_patches.c3
-rw-r--r--sys/dev/sound/pci/hda/hdac.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
index 1da4de8..799c998 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -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";
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index 2dc7ec9..816cd09 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -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 */
OpenPOWER on IntegriCloud