summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-12-28 14:36:26 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-12-28 14:36:26 +0000
commit7a2150bc894db1a47f580f7ae9afed572ca1bb8e (patch)
treee319ab0be1902a47bc4d5afc690f2992fad0b23d /sys/dev
parent56027564e5fbb94e46f88ec96906808e0c5ea458 (diff)
correct CX20468 initialization; mickey@ ok'ed this some time ago.
if you have this conexant codec give it a try.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ac97.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ac97.c b/sys/dev/ic/ac97.c
index 829cfceda87..5df196602fc 100644
--- a/sys/dev/ic/ac97.c
+++ b/sys/dev/ic/ac97.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.c,v 1.58 2005/12/14 13:59:04 fgsch Exp $ */
+/* $OpenBSD: ac97.c,v 1.59 2005/12/28 14:36:25 fgsch Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@@ -1145,6 +1145,6 @@ ac97_cx20468_init(struct ac97_softc *as)
u_int16_t misc;
ac97_read(as, AC97_CX_REG_MISC, &misc);
- ac97_write(as, AC97_CX_REG_MISC,
- AC97_CX_SPDIFEN | AC97_CX_COPYRIGHT | AC97_CX_MASK);
+ ac97_write(as, AC97_CX_REG_MISC, misc &
+ ~(AC97_CX_SPDIFEN | AC97_CX_COPYRIGHT | AC97_CX_MASK));
}