Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12d4bbce authored by Hans de Goede's avatar Hans de Goede Committed by Sarah Sharp
Browse files

usb-core: Fix usb_free_streams return value documentation

parent d5734223
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2078,8 +2078,7 @@ EXPORT_SYMBOL_GPL(usb_alloc_streams);
 * Reverts a group of bulk endpoints back to not using stream IDs.
 * Can fail if we are given bad arguments, or HCD is broken.
 *
 * Return: On success, the number of allocated streams. On failure, a negative
 * error code.
 * Return: 0 on success. On failure, a negative error code.
 */
int usb_free_streams(struct usb_interface *interface,
		struct usb_host_endpoint **eps, unsigned int num_eps,