ALSA: seq: Degrade the error message for too many opens
authorTakashi Iwai <tiwai@suse.de>
Mon, 25 Jan 2016 10:24:56 +0000 (11:24 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 27 Feb 2016 14:28:43 +0000 (14:28 +0000)
commit83470155397c2a31ba4c5d9bd401c902f40503a3
treeb704166ff6e8fc7bc65a52d6e0c930853675a3e5
parentfd691a7b0dac25caf6a9ec69934c5b662735ab54
ALSA: seq: Degrade the error message for too many opens

commit da10816e3d923565b470fec78a674baba794ed33 upstream.

ALSA OSS sequencer spews a kernel error message ("ALSA: seq_oss: too
many applications") when user-space tries to open more than the
limit.  This means that it can easily fill the log buffer.

Since it's merely a normal error, it's safe to suppress it via
pr_debug() instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: this was still using snd_printk()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/core/seq/oss/seq_oss_init.c