|
@@ -1076,7 +1076,7 @@ static int uas_post_reset(struct usb_interface *intf)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
err = uas_configure_endpoints(devinfo);
|
|
err = uas_configure_endpoints(devinfo);
|
|
- if (err && err != ENODEV)
|
|
|
|
|
|
+ if (err && err != -ENODEV)
|
|
shost_printk(KERN_ERR, shost,
|
|
shost_printk(KERN_ERR, shost,
|
|
"%s: alloc streams error %d after reset",
|
|
"%s: alloc streams error %d after reset",
|
|
__func__, err);
|
|
__func__, err);
|