summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-01-25 13:24:56 +0300
committerLuis Henriques <luis.henriques@canonical.com>2016-02-17 13:22:35 +0300
commit50597ac6263e083335aeffedd693e75483e88a2d (patch)
tree45fe9da471d210ff9d501d1538ba2e0f0a007bec
parentf4d82a3e4190777546be75de24fbdf0ba4af2b20 (diff)
downloadlinux-50597ac6263e083335aeffedd693e75483e88a2d.tar.xz
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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
-rw-r--r--sound/core/seq/oss/seq_oss_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c
index b9184d20c39f..beea8c861f49 100644
--- a/sound/core/seq/oss/seq_oss_init.c
+++ b/sound/core/seq/oss/seq_oss_init.c
@@ -204,7 +204,7 @@ snd_seq_oss_open(struct file *file, int level)
dp->index = i;
if (i >= SNDRV_SEQ_OSS_MAX_CLIENTS) {
- pr_err("ALSA: seq_oss: too many applications\n");
+ pr_debug("ALSA: seq_oss: too many applications\n");
rc = -ENOMEM;
goto _error;
}