summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-04-30 20:21:37 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-04-30 20:21:37 +0000
commit664374298a58dd7b424b2ad7a73f9cc9696fb1aa (patch)
tree3b8560da8a959561c9e6bc58782b4371cc5b75e0 /sys
parent8f7d5f2507b803eae10be9db0e3fd4ba68458e99 (diff)
Fix ESI juil@'s EEPROM contents holding default GPIO state.
The new GPIO state doesn't set masked bits and matches the default 48kHz sampling rate. As the codec uses the host clock, this is a no-op, but this way the code is less confusing.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/envy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/envy.c b/sys/dev/pci/envy.c
index 75e010a79e9..3883e160ae5 100644
--- a/sys/dev/pci/envy.c
+++ b/sys/dev/pci/envy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envy.c,v 1.74 2019/04/30 20:17:12 ratchov Exp $ */
+/* $OpenBSD: envy.c,v 1.75 2019/04/30 20:21:36 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -239,8 +239,8 @@ static unsigned char julia_eeprom[ENVY_EEPROM_MAXSZ] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x20, 0x80, 0xf8, 0xc3,
0x9f, 0xff, 0x7f,
- 0x90, 0xff, 0x7f,
- 0x66, 0x00, 0x00
+ 0x60, 0x00, 0x7f,
+ 0x0a, 0x00, 0x00
};
struct envy_codec ak4524_dac = {