]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:09 +0000 (16:13 -0800)
commitb4133832cf270a39c961edf9777d2187eb2b7977
tree3fe16c2a822c8ec091a95e80a9765dc8fa9f7040
parent662a1ccf42d1a08b9fb8d5709c19748bb40e88e1
ALSA: usb-audio - Avoid flood of frame-active debug messages

commit 80c8a2a372599e604b04a9c568952fe39cd1851d upstream.

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/endpoint.c