usb-core: Make usb_free_streams return an error
The hcd-driver free_streams method can return an error, so lets properly propagate that. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
37c3a3c4ff
commit
6c74dada4f
@@ -702,7 +702,7 @@ extern int usb_alloc_streams(struct usb_interface *interface,
|
||||
unsigned int num_streams, gfp_t mem_flags);
|
||||
|
||||
/* Reverts a group of bulk endpoints back to not using stream IDs. */
|
||||
extern void usb_free_streams(struct usb_interface *interface,
|
||||
extern int usb_free_streams(struct usb_interface *interface,
|
||||
struct usb_host_endpoint **eps, unsigned int num_eps,
|
||||
gfp_t mem_flags);
|
||||
|
||||
|
Reference in New Issue
Block a user