ALSA: emu10k1: Rate-limit error messages about page errors
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 May 2018 18:02:23 +0000 (20:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:50:32 +0000 (07:50 +0200)
commit9b56c4151ac250f8ee4f320c0ac63ffdce275304
tree6d27269da7f2080117a8ec6fe8bf4bc1f0ef9c27
parent9f25b548732cfdcda2b0bd638497934b4a8eaaf6
ALSA: emu10k1: Rate-limit error messages about page errors

[ Upstream commit 11d42c81036324697d367600bfc16f6dd37636fd ]

The error messages at sanity checks of memory pages tend to repeat too
many times once when it hits, and without the rate limit, it may flood
and become unreadable.  Replace such messages with the *_ratelimited()
variant.

Bugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=1093027
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/emu10k1/memory.c