Browse Source

Pipe error is quite common on usb3 so drop logging to verbose level only.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
362687f6bc
  1. 4
      usbutils.c

4
usbutils.c

@ -2190,8 +2190,8 @@ usb_bulk_transfer(struct libusb_device_handle *dev_handle,
transferred, timeout); transferred, timeout);
cg_runlock(&cgusb_fd_lock); cg_runlock(&cgusb_fd_lock);
if (unlikely(err == LIBUSB_ERROR_PIPE)) { if (err == LIBUSB_ERROR_PIPE) {
applog(LOG_WARNING, "%s: libusb pipe error, trying to clear", applog(LOG_INFO, "%s: libusb pipe error, trying to clear",
cgpu->drv->name); cgpu->drv->name);
do { do {
err = libusb_clear_halt(dev_handle, endpoint); err = libusb_clear_halt(dev_handle, endpoint);

Loading…
Cancel
Save