diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-08 04:10:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-08 04:10:26 +0000 |
commit | 990234a5ff75467ba2607094711c94242607ec29 (patch) | |
tree | 100f6a45091f32bd51c375c11ca14e54d52ba01f /sys/dev | |
parent | bbc6ff0d62bd9fb0c9376f7cf455766725030510 (diff) |
highly recommend that DVACT_{SUSPEND,RESUME} return 0 unless you want to trigger a broken code path
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/azalia.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index b62315c4e70..04c207703d3 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.181 2010/08/07 20:52:36 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.182 2010/08/08 04:10:25 deraadt Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -549,10 +549,10 @@ azalia_pci_activate(struct device *self, int act) ret = config_deactivate(sc->audiodev); return ret; case DVACT_SUSPEND: - ret = azalia_suspend(sc); + azalia_suspend(sc); return ret; case DVACT_RESUME: - ret = azalia_resume(sc); + azalia_resume(sc); return ret; } return EOPNOTSUPP; |