diff --git a/drivers/usb/xhcid/src/xhci/mod.rs b/drivers/usb/xhcid/src/xhci/mod.rs index 83e5106898..bb414415ca 100644 --- a/drivers/usb/xhcid/src/xhci/mod.rs +++ b/drivers/usb/xhcid/src/xhci/mod.rs @@ -467,9 +467,9 @@ impl Xhci { let entries_per_page = PAGE_SIZE / mem::size_of::(); let cmd = Ring::new::(ac64, entries_per_page, true)?; - let (irq_reactor_sender, irq_reactor_receiver) = crossbeam_channel::unbounded(); + let (irq_reactor_sender, irq_reactor_receiver) = crossbeam_channel::bounded(1024); - let (device_enumerator_sender, device_enumerator_receiver) = crossbeam_channel::unbounded(); + let (device_enumerator_sender, device_enumerator_receiver) = crossbeam_channel::bounded(64); let mut xhci = Self { base: address as *const u8,