diff options
Diffstat (limited to 'devices/src/usb')
-rw-r--r-- | devices/src/usb/xhci/ring_buffer_controller.rs | 2 | ||||
-rw-r--r-- | devices/src/usb/xhci/xhci.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/devices/src/usb/xhci/ring_buffer_controller.rs b/devices/src/usb/xhci/ring_buffer_controller.rs index 5084fab..201441a 100644 --- a/devices/src/usb/xhci/ring_buffer_controller.rs +++ b/devices/src/usb/xhci/ring_buffer_controller.rs @@ -320,7 +320,7 @@ mod tests { fn test_ring_buffer_controller() { let (tx, rx) = channel(); let mem = setup_mem(); - let (l, j) = EventLoop::start(None).unwrap(); + let (l, j) = EventLoop::start("test".to_string(), None).unwrap(); let l = Arc::new(l); let controller = RingBufferController::new_with_handler( "".to_string(), diff --git a/devices/src/usb/xhci/xhci.rs b/devices/src/usb/xhci/xhci.rs index df57e68..55dd50e 100644 --- a/devices/src/usb/xhci/xhci.rs +++ b/devices/src/usb/xhci/xhci.rs @@ -83,7 +83,8 @@ impl Xhci { regs: XhciRegs, ) -> Result<Arc<Self>> { let (event_loop, _join_handle) = - EventLoop::start(Some(fail_handle.clone())).map_err(Error::StartEventLoop)?; + EventLoop::start("xhci".to_string(), Some(fail_handle.clone())) + .map_err(Error::StartEventLoop)?; let interrupter = Arc::new(Mutex::new(Interrupter::new(mem.clone(), irq_evt, ®s))); let event_loop = Arc::new(event_loop); let intr_resample_handler = |