diff options
author | thompsa <thompsa@FreeBSD.org> | 2008-11-10 23:18:10 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2008-11-10 23:18:10 +0000 |
commit | 164e43d89e6cd9009841a62c453212aaf060195f (patch) | |
tree | d6fad9cac2f6adb399e3589f4303f70cf4978e8b /sys/dev | |
parent | 1e366119d6a05490016c5f65e7ad9bc166e9cb3f (diff) | |
download | FreeBSD-src-164e43d89e6cd9009841a62c453212aaf060195f.zip FreeBSD-src-164e43d89e6cd9009841a62c453212aaf060195f.tar.gz |
Add missing USB_BUS_LOCK* change from r184824.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb2/controller/musb2_otg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb2/controller/musb2_otg.c b/sys/dev/usb2/controller/musb2_otg.c index f7832dc..eb5ddf5 100644 --- a/sys/dev/usb2/controller/musb2_otg.c +++ b/sys/dev/usb2/controller/musb2_otg.c @@ -1493,7 +1493,7 @@ done: 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); |