Commit ea00ba34 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] add logging to send_bulk_static_data

USB generic driver
Add the optional dump_urb call to send_bulk_static_data, too.
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent d63bda49
......@@ -280,6 +280,7 @@ static int send_bulk_static_data(snd_usb_midi_out_endpoint_t* ep,
if (!buf)
return -ENOMEM;
memcpy(buf, data, len);
dump_urb("sending", buf, len);
err = usb_bulk_msg(ep->umidi->chip->dev, ep->urb->pipe, buf, len,
NULL, HZ / 4);
kfree(buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment