Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284142
b: refs/heads/master
c: 80c8a2a
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 9, 2012
1 parent e6fb0a2 commit 5df8c97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: d0f3a2eb9062560bebca8b923424f3ca02a331ba
refs/heads/master: 80c8a2a372599e604b04a9c568952fe39cd1851d
5 changes: 3 additions & 2 deletions trunk/sound/usb/endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/ratelimit.h>
#include <linux/usb.h>
#include <linux/usb/audio.h>

Expand Down Expand Up @@ -458,8 +459,8 @@ static int retire_capture_urb(struct snd_usb_substream *subs,

for (i = 0; i < urb->number_of_packets; i++) {
cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset;
if (urb->iso_frame_desc[i].status) {
snd_printd(KERN_ERR "frame %d active: %d\n", i, urb->iso_frame_desc[i].status);
if (urb->iso_frame_desc[i].status && printk_ratelimit()) {
snd_printdd("frame %d active: %d\n", i, urb->iso_frame_desc[i].status);
// continue;
}
bytes = urb->iso_frame_desc[i].actual_length;
Expand Down

0 comments on commit 5df8c97

Please sign in to comment.