Now
MAIN commitmail json YAML
src/sys/dev/usb/ehci.c@1.325
/
diff
/
nxr@1.325
src/sys/dev/usb/motg.c@1.43 / diff / nxr@1.43
src/sys/dev/usb/ohci.c@1.326 / diff / nxr@1.326
src/sys/dev/usb/uhci.c@1.318 / diff / nxr@1.318
src/sys/dev/usb/usbdi.c@1.253 / diff / nxr@1.253
src/sys/dev/usb/xhci.c@1.181 / diff / nxr@1.181
src/sys/external/bsd/dwc2/dwc2.c@1.81 / diff / nxr@1.81
src/sys/dev/usb/motg.c@1.43 / diff / nxr@1.43
src/sys/dev/usb/ohci.c@1.326 / diff / nxr@1.326
src/sys/dev/usb/uhci.c@1.318 / diff / nxr@1.318
src/sys/dev/usb/usbdi.c@1.253 / diff / nxr@1.253
src/sys/dev/usb/xhci.c@1.181 / diff / nxr@1.181
src/sys/external/bsd/dwc2/dwc2.c@1.81 / diff / nxr@1.81
usb *hci: Always set ux_status before usbd_xfer_schedule_timeout.
Add an assert to usbd_xfer_schedule_timeout to enforce this.
Since access to ux_status is serialized by the bus lock, and nothing
releases the bus lock in the interim, this doesn't make a functional
change. But it does reduce confusion by readers, who no longer have
to worry if some callers got the order wrong. It could also now
potentially be factored out in a subsequent commit.
Add an assert to usbd_xfer_schedule_timeout to enforce this.
Since access to ux_status is serialized by the bus lock, and nothing
releases the bus lock in the interim, this doesn't make a functional
change. But it does reduce confusion by readers, who no longer have
to worry if some callers got the order wrong. It could also now
potentially be factored out in a subsequent commit.