From: Hans de Goede Date: Tue, 5 May 2015 21:56:14 +0000 (+0200) Subject: usb: ohci: Don't log an error on interrupt packet timeout X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=fa5b9baa0c2350c045edab11c076d02e9801566b;p=u-boot.git usb: ohci: Don't log an error on interrupt packet timeout Interrupts transfers timing out is normal, so do not log an error for this. Signed-off-by: Hans de Goede Acked-by: Marek Vasut --- diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3744658e40..494b760761 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -1572,7 +1572,8 @@ static int submit_common_msg(ohci_t *ohci, struct usb_device *dev, dbg("*"); } else { - err("CTL:TIMEOUT "); + if (!usb_pipeint(pipe)) + err("CTL:TIMEOUT "); dbg("submit_common_msg: TO status %x\n", stat); urb->finished = 1; stat = USB_ST_CRC_ERR;