summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index f09fba7..dea1e0b 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -394,7 +394,7 @@ ums_detach(device_t self)
}
if (sc->state & UMS_SELECT) {
sc->state &= ~UMS_SELECT;
- selwakeup(&sc->rsel);
+ selwakeuppri(&sc->rsel, PZERO);
}
destroy_dev(sc->dev);
@@ -533,7 +533,7 @@ ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int buttons)
}
if (sc->state & UMS_SELECT) {
sc->state &= ~UMS_SELECT;
- selwakeup(&sc->rsel);
+ selwakeuppri(&sc->rsel, PZERO);
}
}
Static int
OpenPOWER on IntegriCloud