Browse Source

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

Con Kolivas 12 years ago
parent
commit
362687f6bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      usbutils.c

+ 2 - 2
usbutils.c

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