From 15835e923bd523ef918dc1c1c26cf070050e17e2 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Fri, 17 Aug 2012 04:44:57 +0000 Subject: The GPIO drivers were initialising their mutexes with type of MTX_NETWORK_LOCK. This is wrong since these mutexes have nothing to do with networking. --- sys/mips/rt305x/rt305x_gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/mips/rt305x') diff --git a/sys/mips/rt305x/rt305x_gpio.c b/sys/mips/rt305x/rt305x_gpio.c index a570889..a911b33 100644 --- a/sys/mips/rt305x/rt305x_gpio.c +++ b/sys/mips/rt305x/rt305x_gpio.c @@ -447,8 +447,7 @@ rt305x_gpio_attach(device_t dev) KASSERT((device_get_unit(dev) == 0), ("rt305x_gpio_gpio: Only one gpio module supported")); - mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, - MTX_DEF); + mtx_init(&sc->gpio_mtx, device_get_nameunit(dev), NULL, MTX_DEF); /* Map control/status registers. */ sc->gpio_mem_rid = 0; -- cgit v1.1