From 0a64bdd0db2fc3c8c7d7eff4441642f262a58617 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 9 May 2015 10:27:32 +0000 Subject: [PATCH] Fix an occurance of mtx_enter() that should have been mtx_leave(). This line was originally an splx() before being converted to a mutex. ok ratchov@ --- sys/dev/isa/wss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/isa/wss.c b/sys/dev/isa/wss.c index 41602d67282..50ae7d4cc77 100644 --- a/sys/dev/isa/wss.c +++ b/sys/dev/isa/wss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wss.c,v 1.27 2014/09/14 14:17:25 jsg Exp $ */ +/* $OpenBSD: wss.c,v 1.28 2015/05/09 10:27:32 jsg Exp $ */ /* $NetBSD: wss.c,v 1.42 1998/01/19 22:18:23 augustss Exp $ */ /* @@ -422,7 +422,7 @@ mad_write(sc, port, value) mtx_enter(&audio_lock); bus_space_write_1(sc->sc_iot, sc->mad_ioh, MC_PASSWD_REG, pwd); bus_space_write_1(sc->sc_iot, sc->mad_ioh, port, value & 0xff); - mtx_enter(&audio_lock); + mtx_leave(&audio_lock); } void -- 2.20.1