Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev No need to reset the audioinfo whem dealing with the...
details: https://anonhg.NetBSD.org/src/rev/26e1e01bf911
branches: trunk
changeset: 354530:26e1e01bf911
user: nat <nat%NetBSD.org@localhost>
date: Tue Jun 20 07:42:31 2017 +0000
description:
No need to reset the audioinfo whem dealing with the hardware ring. This
avoids a panic with some audio devices.
Ok christos@.
diffstat:
sys/dev/audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 220b9cf92b58 -r 26e1e01bf911 sys/dev/audio.c
--- a/sys/dev/audio.c Tue Jun 20 07:21:50 2017 +0000
+++ b/sys/dev/audio.c Tue Jun 20 07:42:31 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.358 2017/06/08 13:05:03 nat Exp $ */
+/* $NetBSD: audio.c,v 1.359 2017/06/20 07:42:31 nat Exp $ */
/*-
* Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.358 2017/06/08 13:05:03 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.359 2017/06/20 07:42:31 nat Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -4187,7 +4187,7 @@
&sc->sc_encodings);
if (error == 0)
- error = audiosetinfo(sc, &ai, true, vc);
+ error = audiosetinfo(sc, &ai, false, vc);
return error;
}
Home |
Main Index |
Thread Index |
Old Index