diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-05-05 23:56:14 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-06 12:48:36 -0600 |
commit | fa5b9baa0c2350c045edab11c076d02e9801566b (patch) | |
tree | ca3b0e32805322a7cdfb39d4a60bbc2327f4699f /drivers/usb/host/ohci-hcd.c | |
parent | 8d005ef81a7a6608401410a0f55fbcd5dd72f29c (diff) | |
download | u-boot-imx-fa5b9baa0c2350c045edab11c076d02e9801566b.zip u-boot-imx-fa5b9baa0c2350c045edab11c076d02e9801566b.tar.gz u-boot-imx-fa5b9baa0c2350c045edab11c076d02e9801566b.tar.bz2 |
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 <hdegoede@redhat.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3744658..494b760 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; |