diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-02-08 14:35:02 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-02-08 14:35:02 +0000 |
commit | 380e4ca3347264b12ced0797c394d11e6b9a56f7 (patch) | |
tree | 0ccb62d15ffa185d1c77e5f907fcb3e4786b20bc /sys/dev/pci | |
parent | cb1beb987892a08c5c68eb8f93295db52383680b (diff) |
don't unconditionally return here, still need to set recording parameters
when configuring for full-duplex.
fixes problem noticed by todd@
ok todd@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/auich.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c index 95296a9fae2..344830be56f 100644 --- a/sys/dev/pci/auich.c +++ b/sys/dev/pci/auich.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auich.c,v 1.68 2008/01/15 02:52:50 jakemsr Exp $ */ +/* $OpenBSD: auich.c,v 1.69 2008/02/08 14:35:01 jakemsr Exp $ */ /* * Copyright (c) 2000,2001 Michael Shalayeff @@ -894,7 +894,9 @@ auich_set_params(v, setmode, usemode, play, rec) return (error); play->sample_rate = orate; - return (error); + + if (error) + return (error); } if (setmode & AUMODE_RECORD) { |