Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jmcneill-audiomp3]: src/sys/arch/sgimips/mace no need to enter intr_lock...
details: https://anonhg.NetBSD.org/src/rev/e31d4526d719
branches: jmcneill-audiomp3
changeset: 771375:e31d4526d719
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Nov 20 18:25:46 2011 +0000
description:
no need to enter intr_lock from trigger_output, it's already held
diffstat:
sys/arch/sgimips/mace/mavb.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r f51b04fcb9b4 -r e31d4526d719 sys/arch/sgimips/mace/mavb.c
--- a/sys/arch/sgimips/mace/mavb.c Sun Nov 20 16:34:23 2011 +0000
+++ b/sys/arch/sgimips/mace/mavb.c Sun Nov 20 18:25:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mavb.c,v 1.7.4.2 2011/11/20 16:07:27 jmcneill Exp $ */
+/* $NetBSD: mavb.c,v 1.7.4.3 2011/11/20 18:25:46 jmcneill Exp $ */
/* $OpenBSD: mavb.c,v 1.6 2005/04/15 13:05:14 mickey Exp $ */
/*
@@ -909,8 +909,6 @@
sc->sc_count = 0;
- mutex_spin_enter(&sc->sc_intr_lock);
-
bus_space_write_8(sc->sc_st, sc->sc_sh, MAVB_CHANNEL2_CONTROL,
MAVB_CHANNEL_RESET);
delay(1000);
@@ -921,8 +919,6 @@
bus_space_write_8(sc->sc_st, sc->sc_sh, MAVB_CHANNEL2_CONTROL,
MAVB_CHANNEL_DMA_ENABLE | MAVB_CHANNEL_INT_50);
- mutex_spin_exit(&sc->sc_intr_lock);
-
return 0;
}
Home |
Main Index |
Thread Index |
Old Index