diff options
-rw-r--r-- | drivers/staging/line6/midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c index 52da4d9..3f6d78c 100644 --- a/drivers/staging/line6/midi.c +++ b/drivers/staging/line6/midi.c @@ -144,7 +144,7 @@ static int send_midi_async(struct usb_line6 *line6, unsigned char *data, if (retval < 0) { dev_err(line6->ifcdev, "usb_submit_urb failed\n"); usb_free_urb(urb); - return -EINVAL; + return retval; } ++line6->line6midi->num_active_send_urbs; |