Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56211
b: refs/heads/master
c: 490cbd9
h: refs/heads/master
i:
  56209: 4b3f47e
  56207: 9b65dd3
v: v3
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed May 11, 2007
1 parent 1b52fdb commit 47f6aed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d05cc104320210e1c38ff9675c5038cffb2d86dc
refs/heads/master: 490cbd92ed4d9915b582f4e40c605eeb977e5d40
6 changes: 5 additions & 1 deletion trunk/sound/usb/usbmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,11 @@ static int snd_usbmidi_out_endpoint_create(struct snd_usb_midi* umidi,
}
/* we never use interrupt output pipes */
pipe = usb_sndbulkpipe(umidi->chip->dev, ep_info->out_ep);
ep->max_transfer = usb_maxpacket(umidi->chip->dev, pipe, 1);
if (umidi->chip->usb_id == USB_ID(0x0a92, 0x1020)) /* ESI M4U */
/* FIXME: we need more URBs to get reasonable bandwidth here: */
ep->max_transfer = 4;
else
ep->max_transfer = usb_maxpacket(umidi->chip->dev, pipe, 1);
buffer = usb_buffer_alloc(umidi->chip->dev, ep->max_transfer,
GFP_KERNEL, &ep->urb->transfer_dma);
if (!buffer) {
Expand Down

0 comments on commit 47f6aed

Please sign in to comment.