diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-01-02 22:32:26 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-01-02 22:32:26 +0000 |
commit | b845c006faaee044b45b2935b605066c47c01c64 (patch) | |
tree | fecf02c62e6d0173fd53378bf6df6772d313eed4 /sys/dev/pci/azalia.c | |
parent | 17954f4a461105ea0d92e1e96c1157de4308afe4 (diff) |
- get rid of the function that was mostly just a wrapper for the old
function for creating "master" volume control.
- apply gpio quirks separately from and prior to configuring the mixer.
gpio manipulation can cause noise on output channels. configuring
gpio before amps are unmuted in the mixer configuration is a good
thing.
from Alexey Suslikov, thanks
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r-- | sys/dev/pci/azalia.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 62b90982789..15c5abfb40f 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.106 2009/01/02 20:18:18 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.107 2009/01/02 22:32:25 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -1311,6 +1311,10 @@ azalia_codec_init(codec_t *this) if (err) return err; + err = azalia_codec_gpio_quirks(this); + if (err) + return err; + err = this->mixer_init(this); if (err) return err; |