From 40f3a90f89dd1380fd484a1ac4b481e17520b492 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Mon, 10 Nov 2008 23:18:10 +0000 Subject: [PATCH] Add missing USB_BUS_LOCK* change from r184824. --- sys/dev/usb2/controller/musb2_otg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb2/controller/musb2_otg.c b/sys/dev/usb2/controller/musb2_otg.c index f7832dce18d3..eb5ddf596e47 100644 --- a/sys/dev/usb2/controller/musb2_otg.c +++ b/sys/dev/usb2/controller/musb2_otg.c @@ -1493,7 +1493,7 @@ musbotg_standard_done(struct usb2_xfer *xfer) static void musbotg_device_done(struct usb2_xfer *xfer, usb2_error_t error) { - mtx_assert(xfer->usb2_mtx, MA_OWNED); + USB_BUS_LOCK_ASSERT(xfer->udev->bus, MA_OWNED); DPRINTFN(2, "xfer=%p, pipe=%p, error=%d\n", xfer, xfer->pipe, error);