From 5df8c9704f664190b0dec26f5703d83bce92cdfe Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 9 Jan 2012 11:37:20 +0100 Subject: [PATCH] --- yaml --- r: 284142 b: refs/heads/master c: 80c8a2a372599e604b04a9c568952fe39cd1851d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/usb/endpoint.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 36247a331cfc..28f8f4f2c372 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d0f3a2eb9062560bebca8b923424f3ca02a331ba +refs/heads/master: 80c8a2a372599e604b04a9c568952fe39cd1851d diff --git a/trunk/sound/usb/endpoint.c b/trunk/sound/usb/endpoint.c index 81c6edecd862..08dcce53720b 100644 --- a/trunk/sound/usb/endpoint.c +++ b/trunk/sound/usb/endpoint.c @@ -17,6 +17,7 @@ #include #include +#include #include #include @@ -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;