diff options
Diffstat (limited to 'sys/dev/usb/storage/umass.c')
-rw-r--r-- | sys/dev/usb/storage/umass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index a3fc198..c4d8ae1 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -1583,7 +1583,7 @@ umass_attach(device_t dev) * some devices need a delay after that the configuration value is * set to function properly: */ - usb2_pause_mtx(&Giant, hz); + usb2_pause_mtx(NULL, hz); /* register the SIM */ err = umass_cam_attach_sim(sc); @@ -1642,7 +1642,7 @@ umass_init_shuttle(struct umass_softc *sc) req.wIndex[0] = sc->sc_iface_no; req.wIndex[1] = 0; USETW(req.wLength, sizeof(status)); - err = usb2_do_request(sc->sc_udev, &Giant, &req, &status); + err = usb2_do_request(sc->sc_udev, NULL, &req, &status); DPRINTF(sc, UDMASS_GEN, "Shuttle init returned 0x%02x%02x\n", status[0], status[1]); @@ -2161,7 +2161,7 @@ umass_bbb_get_max_lun(struct umass_softc *sc) req.wIndex[1] = 0; USETW(req.wLength, 1); - err = usb2_do_request(sc->sc_udev, &Giant, &req, &buf); + err = usb2_do_request(sc->sc_udev, NULL, &req, &buf); if (err) { buf = 0; |