diff options
-rw-r--r-- | sound/core/seq/seq_fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_fifo.c b/sound/core/seq/seq_fifo.c index 559989992bef..53a403e17c5b 100644 --- a/sound/core/seq/seq_fifo.c +++ b/sound/core/seq/seq_fifo.c | |||
@@ -124,7 +124,7 @@ int snd_seq_fifo_event_in(struct snd_seq_fifo *f, | |||
124 | snd_use_lock_use(&f->use_lock); | 124 | snd_use_lock_use(&f->use_lock); |
125 | err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL); /* always non-blocking */ | 125 | err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL); /* always non-blocking */ |
126 | if (err < 0) { | 126 | if (err < 0) { |
127 | if (err == -ENOMEM) | 127 | if ((err == -ENOMEM) || (err == -EAGAIN)) |
128 | atomic_inc(&f->overflow); | 128 | atomic_inc(&f->overflow); |
129 | snd_use_lock_free(&f->use_lock); | 129 | snd_use_lock_free(&f->use_lock); |
130 | return err; | 130 | return err; |