Commit 6567edc6 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

USB audio driver

  
- Makes "audio" set the urb->interval in its periodic URBs,
  so it can submit through the hcd framework. 
parent 7bcd06de
...@@ -839,6 +839,7 @@ static int usbin_prepare_desc(struct usbin *u, struct urb *urb) ...@@ -839,6 +839,7 @@ static int usbin_prepare_desc(struct usbin *u, struct urb *urb)
urb->iso_frame_desc[i].length = maxsize; urb->iso_frame_desc[i].length = maxsize;
urb->iso_frame_desc[i].offset = offs; urb->iso_frame_desc[i].offset = offs;
} }
urb->interval = 1;
return 0; return 0;
} }
...@@ -938,6 +939,7 @@ static int usbin_sync_prepare_desc(struct usbin *u, struct urb *urb) ...@@ -938,6 +939,7 @@ static int usbin_sync_prepare_desc(struct usbin *u, struct urb *urb)
cp[1] = u->freqn >> 8; cp[1] = u->freqn >> 8;
cp[2] = u->freqn >> 16; cp[2] = u->freqn >> 16;
} }
urb->interval = 1;
return 0; return 0;
} }
......
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