Interrupts transfers timing out is normal, so do not log an error for this.

Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
 drivers/usb/host/ohci-hcd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
-- 
2.3.6

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to