Module Name:    src
Committed By:   mrg
Date:           Sun Nov 20 12:04:14 UTC 2011

Modified Files:
        src/sys/dev/ic [jmcneill-audiomp3]: am7930.c

Log Message:
IPL_SCHED is enough.


To generate a diff of this commit:
cvs rdiff -u -r1.50.56.1 -r1.50.56.2 src/sys/dev/ic/am7930.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/am7930.c
diff -u src/sys/dev/ic/am7930.c:1.50.56.1 src/sys/dev/ic/am7930.c:1.50.56.2
--- src/sys/dev/ic/am7930.c:1.50.56.1	Sun Nov 20 10:56:18 2011
+++ src/sys/dev/ic/am7930.c	Sun Nov 20 12:04:14 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: am7930.c,v 1.50.56.1 2011/11/20 10:56:18 mrg Exp $	*/
+/*	$NetBSD: am7930.c,v 1.50.56.2 2011/11/20 12:04:14 mrg Exp $	*/
 
 /*
  * Copyright (c) 1995 Rolf Grossmann
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am7930.c,v 1.50.56.1 2011/11/20 10:56:18 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am7930.c,v 1.50.56.2 2011/11/20 12:04:14 mrg Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -191,8 +191,7 @@ am7930_init(struct am7930_softc *sc, int
 	}
 
 	mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_NONE);
-	/* We used to take splaudio() in commit_settings */
-	mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_VM);
+	mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
 }
 
 int

Reply via email to