|
@@ -1303,7 +1303,7 @@ static void retire_capture_urb(struct snd_usb_substream *subs,
|
|
if (bytes % (runtime->sample_bits >> 3) != 0) {
|
|
if (bytes % (runtime->sample_bits >> 3) != 0) {
|
|
int oldbytes = bytes;
|
|
int oldbytes = bytes;
|
|
bytes = frames * stride;
|
|
bytes = frames * stride;
|
|
- dev_warn(&subs->dev->dev,
|
|
|
|
|
|
+ dev_warn_ratelimited(&subs->dev->dev,
|
|
"Corrected urb data len. %d->%d\n",
|
|
"Corrected urb data len. %d->%d\n",
|
|
oldbytes, bytes);
|
|
oldbytes, bytes);
|
|
}
|
|
}
|