summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-12-10 14:18:12 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-12-10 14:18:12 +0000
commit497693dab9bc4d2667218c085d4de9bb33769435 (patch)
tree5261822ef6f5274a825083e45762ab977bed5290 /sys/dev/pci/azalia_codec.c
parente0741fbd58e65b305dcec18d2b4b6b00d4e5d48b (diff)
Add an unmute quirk for HP machines with the IDT 92HD75B1/2 codec.
From Alessandro DE LAURENZIS, who requires this to get sound out of the speakers on a Compaq 610 laptop. Other machines such as the HP Mini 1000 and HP Mini 5102 will likely benefit from this as well.
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-rw-r--r--sys/dev/pci/azalia_codec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 1fc20453a78..5b5db65a226 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia_codec.c,v 1.164 2014/11/17 16:34:51 landry Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.165 2014/12/10 14:18:11 jsg Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -184,6 +184,9 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x111d7608:
this->name = "IDT 92HD75B1/2";
+ if ((this->subid & 0x0000ffff) == 0x0000103c) { /* HP */
+ this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
+ }
break;
case 0x111d7674:
this->name = "IDT 92HD73D1";