diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-09 11:19:23 -0400 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-04 18:38:02 -0500 |
commit | 12d4bbcea727710bbd04de3e1de05957a0675e60 (patch) | |
tree | e40287f20cd45f729691dbbb4457ddd439a17c44 | |
parent | d57342232db459bf820b90e39496190965d7a775 (diff) |
usb-core: Fix usb_free_streams return value documentation
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
-rw-r--r-- | drivers/usb/core/hcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 2518c3250750..9b445f43f825 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -2078,8 +2078,7 @@ EXPORT_SYMBOL_GPL(usb_alloc_streams); | |||
2078 | * Reverts a group of bulk endpoints back to not using stream IDs. | 2078 | * Reverts a group of bulk endpoints back to not using stream IDs. |
2079 | * Can fail if we are given bad arguments, or HCD is broken. | 2079 | * Can fail if we are given bad arguments, or HCD is broken. |
2080 | * | 2080 | * |
2081 | * Return: On success, the number of allocated streams. On failure, a negative | 2081 | * Return: 0 on success. On failure, a negative error code. |
2082 | * error code. | ||
2083 | */ | 2082 | */ |
2084 | int usb_free_streams(struct usb_interface *interface, | 2083 | int usb_free_streams(struct usb_interface *interface, |
2085 | struct usb_host_endpoint **eps, unsigned int num_eps, | 2084 | struct usb_host_endpoint **eps, unsigned int num_eps, |