Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Don't call initbufs before audio_set_defaults. It i...
details: https://anonhg.NetBSD.org/src/rev/de188b0e879b
branches: trunk
changeset: 350811:de188b0e879b
user: nat <nat%NetBSD.org@localhost>
date: Sun Jan 22 19:52:02 2017 +0000
description:
Don't call initbufs before audio_set_defaults. It is called in
audiosetinfo anyway.
Addresses PR kern/51707.
diffstat:
sys/dev/audio.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 18b132fe0939 -r de188b0e879b sys/dev/audio.c
--- a/sys/dev/audio.c Sun Jan 22 19:47:00 2017 +0000
+++ b/sys/dev/audio.c Sun Jan 22 19:52:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.294 2017/01/21 23:37:17 nat Exp $ */
+/* $NetBSD: audio.c,v 1.295 2017/01/22 19:52:02 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.294 2017/01/21 23:37:17 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.295 2017/01/22 19:52:02 nat Exp $");
#include "audio.h"
#if NAUDIO > 0
@@ -1926,8 +1926,6 @@
return error;
}
- audio_initbufs(sc, n);
-
if (sc->sc_opens == 0) {
if (hw->open != NULL) {
mutex_enter(sc->sc_intr_lock);
Home |
Main Index |
Thread Index |
Old Index