summaryrefslogtreecommitdiff
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.com>2026-06-16 21:47:16 +0200
committerJiri Kosina <jkosina@suse.com>2026-06-16 21:47:16 +0200
commitaa776949fb77462ee712eee28bc54a9ce95c5b40 (patch)
tree389848f195054d64ac6fc137a2218e0a63655288 /include/linux/usb.h
parent6df6b1f2c49678211f65647c300bc51dda02893b (diff)
parent12b7731995ca577d86e02196e99ba9c126f47282 (diff)
Merge branch 'for-7.2/wiimote' into for-linus
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r--include/linux/usb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 4aab20015851..25a203ac7a7e 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -55,7 +55,8 @@ struct ep_device;
* @eusb2_isoc_ep_comp: eUSB2 isoc companion descriptor for this endpoint
* @urb_list: urbs queued to this endpoint; maintained by usbcore
* @hcpriv: for use by HCD; typically holds hardware dma queue head (QH)
- * with one or more transfer descriptors (TDs) per urb
+ * with one or more transfer descriptors (TDs) per urb; must be preserved
+ * by core while BW is allocated for the endpoint
* @ep_dev: ep_device for sysfs info
* @extra: descriptors following this endpoint in the configuration
* @extralen: how many bytes of "extra" are valid
@@ -2081,6 +2082,8 @@ static inline int usb_translate_errors(int error_code)
case -ENODEV:
case -EOPNOTSUPP:
return error_code;
+ case -ENOSPC:
+ return -EBUSY;
default:
return -EIO;
}