diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index e4b7f00..d949871 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2443,6 +2443,10 @@ static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, if (!room_on_ring(xhci, ep_ring, num_trbs)) { /* FIXME allocate more room */ xhci_err(xhci, "ERROR no room on ep ring\n"); + xhci_err(xhci, "Event ring:\n"); + xhci_debug_ring(xhci, xhci->event_ring); + xhci_err(xhci, "Endpoint ring:\n"); + xhci_debug_ring(xhci, ep_ring); return -ENOMEM; }