Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284141
b: refs/heads/master
c: d0f3a2e
h: refs/heads/master
i:
  284139: cf808b6
v: v3
  • Loading branch information
Karsten Wiese authored and Takashi Iwai committed Jan 9, 2012
1 parent 380a374 commit e6fb0a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 7d53a631ed92abd19d3c948a5daa535e53bd2bff
refs/heads/master: d0f3a2eb9062560bebca8b923424f3ca02a331ba
6 changes: 2 additions & 4 deletions trunk/sound/usb/usx2y/usb_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ int usb_stream_start(struct usb_stream_kernel *sk)
inurb->transfer_buffer_length =
inurb->number_of_packets *
inurb->iso_frame_desc[0].length;
preempt_disable();

if (u == 0) {
int now;
struct usb_device *dev = inurb->dev;
Expand All @@ -686,19 +686,17 @@ int usb_stream_start(struct usb_stream_kernel *sk)
}
err = usb_submit_urb(inurb, GFP_ATOMIC);
if (err < 0) {
preempt_enable();
snd_printk(KERN_ERR"usb_submit_urb(sk->inurb[%i])"
" returned %i\n", u, err);
return err;
}
err = usb_submit_urb(outurb, GFP_ATOMIC);
if (err < 0) {
preempt_enable();
snd_printk(KERN_ERR"usb_submit_urb(sk->outurb[%i])"
" returned %i\n", u, err);
return err;
}
preempt_enable();

if (inurb->start_frame != outurb->start_frame) {
snd_printd(KERN_DEBUG
"u[%i] start_frames differ in:%u out:%u\n",
Expand Down

0 comments on commit e6fb0a2

Please sign in to comment.