diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-08-06 04:43:21 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-08-06 04:43:21 +0000 |
commit | 3906bdb8396930b9700cfef02940ee92e5dc1c64 (patch) | |
tree | ef8c7279c5a950d7250138d38728482cebe41998 /sys | |
parent | ca4a137b9ea0cab5fa2db54cff7054b924222ffb (diff) |
since r1.171 pin widgets get fully reinitialized on resume, which
means they lose their quirk fixups. check for widget quirks and
apply as necessary.
ok deraadt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/azalia.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 3d9f6130394..1d8083cebf4 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.176 2010/08/06 00:08:49 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.177 2010/08/06 04:43:20 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -1411,6 +1411,8 @@ azalia_resume_codec(codec_t *this) } if (w->type == COP_AWTYPE_PIN_COMPLEX) azalia_widget_init_pin(w, this); + if (this->qrks & AZ_QRK_WID_MASK) + azalia_codec_widget_quirks(this, w->nid); } if (this->qrks & AZ_QRK_GPIO_MASK) { |