diff options
| author | Hans de Goede <[email protected]> | 2015-05-05 23:56:14 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-05-06 12:48:36 -0600 |
| commit | fa5b9baa0c2350c045edab11c076d02e9801566b (patch) | |
| tree | ca3b0e32805322a7cdfb39d4a60bbc2327f4699f /drivers | |
| parent | 8d005ef81a7a6608401410a0f55fbcd5dd72f29c (diff) | |
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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers')
| -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 3744658e40d..494b7607611 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; |
