summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-03-12 08:45:42 +0000
committerglebius <glebius@FreeBSD.org>2013-03-12 08:45:42 +0000
commitcd3470bcd6863c637963850bb25371cf831a20e1 (patch)
treed3fab794f0af005953645b1c621a45af2e869874 /sys/dev/sound
parentca616198e5ffd9e04aa3190d1c3ff9b78383b083 (diff)
downloadFreeBSD-src-cd3470bcd6863c637963850bb25371cf831a20e1.zip
FreeBSD-src-cd3470bcd6863c637963850bb25371cf831a20e1.tar.gz
More Lenovo headphones redirection quirks: Lenovo T430, Lenovo T430S.
Submitted by: Sergey Nasonov <snasonov bcc.ru>, T430 Submitted by: Johannes Dieterich <dieterich.joh gmail.com>, T430S
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/hda/hdaa_patches.c4
-rw-r--r--sys/dev/sound/pci/hda/hdac.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
index ef3124a..b74ea7d 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -344,7 +344,9 @@ hdac_pin_patch(struct hdaa_widget *w)
break;
}
} else if (id == HDA_CODEC_ALC269 &&
- subid == LENOVO_X1CRBN_SUBVENDOR) {
+ (subid == LENOVO_X1CRBN_SUBVENDOR ||
+ subid == LENOVO_T430_SUBVENDOR ||
+ subid == LENOVO_T430S_SUBVENDOR)) {
switch (nid) {
case 21:
patch = "as=1 seq=15";
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index e82b6ae..27cf148 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -225,6 +225,8 @@
#define LENOVO_X220_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21da)
#define LENOVO_X300_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x20ac)
#define LENOVO_T420_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x21ce)
+#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_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
OpenPOWER on IntegriCloud