ALSA: usb-audio - Avoid flood of frame-active debug messages
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Jan 2012 10:37:20 +0000 (11:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jan 2012 10:40:46 +0000 (11:40 +0100)
commit80c8a2a372599e604b04a9c568952fe39cd1851d
treee31d7b227474ad8887790d8a842ca55265be5cb0
parentd0f3a2eb9062560bebca8b923424f3ca02a331ba
ALSA: usb-audio - Avoid flood of frame-active debug messages

With some buggy devices, the usb-audio driver may give "frame xxx active"
kernel messages too often.  Better to keep it as debug-only using
snd_printdd(), and also add the rate-limit for avoiding floods.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=738681

Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c