summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r--sys/dev/pci/azalia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index b47c7be1863..4ea59cf8552 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.189 2011/02/17 16:02:22 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.190 2011/02/17 17:38:55 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -2247,7 +2247,7 @@ azalia_codec_select_spkrdac(codec_t *this)
}
}
}
- if (conn != -1) {
+ if (conn != -1 && conv != -1) {
err = azalia_comresp(this, w->nid,
CORB_SET_CONNECTION_SELECT_CONTROL, conn, 0);
if (err)