From 9c6dff9e0beb29b0d883b481e7e97e40172a0055 Mon Sep 17 00:00:00 2001 From: jakemsr Date: Fri, 6 Aug 2010 04:43:20 +0000 Subject: [PATCH] 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 --- sys/dev/pci/azalia.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.20.1