]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 May 2018 18:07:18 +0000 (20:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 May 2018 18:07:18 +0000 (20:07 +0200)
commit2e9fa175a6d57dcdb38a904471aa1dc694d67e15
tree818fda45eceb507f5407ef9b6bf1cfa98f6778df
parent5e5446e3d3a533bfca7f62daf17b50e52ba02ff7
ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback

retire_capture_urb() may print warning messages when the given URB
doesn't align, and this may flood the system log easily.
Put the rate limit to the message for avoiding it.

Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1093485
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c